This site has been retired. For up to date information, see handbook.gnome.org or gitlab.gnome.org.


[Home] [TitleIndex] [WordIndex

Content Selection Pattern

Design pattern used in GNOME 3 applications for selecting and performing actions on content.

Participants

WilliamJonMcCann, JakubSteiner, AllanDay, psychoslave

Goals

Relevant Art

Chrome OS File Browser

http://www.omgchrome.com/wp-content/uploads/2013/03/file-tree.jpg

Windows

http://www.eightforums.com/attachments/tutorials/10022d1351354978-check-boxes-select-items-turn-off-windows-8-checkmark_file_explorer.jpg

Pocket on Android

http://assistly-production.s3.amazonaws.com/readitlater/portal_attachments/42066/PKT_ANDPhone_ICS_Help_8_Bulk-Edit-Toolbar_original.jpg?AWSAccessKeyId=AKIAJNSFWOZ6ZS23BMKQ&Expires=1387299408&Signature=jg1JexVN7p8G3OMSWEbbdUJT5jc=&response-content-disposition=filename="PKT_ANDPhone_ICS_Help_8_Bulk-Edit-Toolbar.jpg"&response-content-type=image/jpeg

Gmail on Android

http://cdn3.sbnation.com/entry_photo_images/9031563/gmailandroidupdate_large_verge_medium_landscape.jpg

Google Drive (web)

http://assets.sbnation.com/assets/1080135/google_drive.jpg

Google Play Music (Web & Android)

http://cdn0.mos.techradar.futurecdn.net//art/mobile_phones/Apps/android/Play_Music_Feeling_Lucky-578-80.jpg

Discussion

Tentative Design

The following describes a series of updates to existing implementations of the content selection pattern. Changes from the existing selection mode pattern include:

https://raw.github.com/gnome-design-team/gnome-mockups/master/selection-pattern/png/grid-normal-state.png

Selection mode can be activated by:

Right-click/long-press on a content item shows a context menu:

https://raw.github.com/gnome-design-team/gnome-mockups/master/selection-pattern/png/grid-context-menu.png

When selection mode is activated:

Selection mode should preserve the existing context. This applies to:

Selection mode can be exited by:

https://raw.github.com/gnome-design-team/gnome-mockups/master/selection-pattern/png/grid-none-selected.png

https://raw.github.com/gnome-design-team/gnome-mockups/master/selection-pattern/png/list-none-selected.png

Once in selection mode, content can be selected by:

Once content has been selected, action controls become sensitive. Some action items may require more than one content item to be selected.

https://raw.github.com/gnome-design-team/gnome-mockups/master/selection-pattern/png/grid-one-selected.png

Activating an action from the bottom toolbar exits selection mode and performs the action on the selected content.

Alternative tentative Design

This one try to completely drop the "selection mode", that is, let the user directly select items, as well as perform other different actions.

alternative-tentative.png

The idea is to add action icon associated with each item, even in grid mode. In list mode, this is already a widespread design in web and mobile interface. The mock-up is awful (sorry), but ideas are presented :

The bottom bar give information on selected items and enable to access batch actions. Also note that this design doesn't require any alternative form of input (ie. long push, second button, and so on).

Regarding keyboard usage, a shortcut would be required to navigate this button once on a icon. Those said:

Development Tracking

Bugs:

Comments

I don't really like this selection system, because it requires many clicks and is time consuming. One issue is the implementation of the selection system - it isn't always necessary to use (for example, in Clocks it would be easier to put a small trash can, delete button, or an x next to each clock only visible on mouseover, that would be more intuitive). Another issue is the selection system itself: is it really necessary to have a selection "mode" that you enter? I like how Chrome OS handles this - the check boxes are always there, but it is also possible to select files the "Windows" way (by simply clicking the file or shift/ctrl clicking multiple files). An even easier way might be having a check box appear when mousing over a file, but otherwise hidden. I really think this is something that should be discussed in more detail on IRC.

When it comes to selection, you have several complementary patterns users may want to use:

For the last one, it may be interesting to provide users a way to chain different selection patterns, something like unix pipes, but with a more user friendly convenient interface. For example you may have two main horizontal frames, one for "pattern selection pipes", and one for results. So user may just chose "critera boxes" with or without parmeters, like "recent files", "containing in title", "with size larger than", "image types", "grey level images", and so on. -- psychoslave 2013-08-04 09:01:11

Boxes does a transition when changing the color of the topbar, many other apps don't do that (transition looks way better in Boxes). Since I think this transition is very nice and smoothes the workflow I'd include a notice that this transition would be nice to have in this case. (Or discuss wether we want this or not but nobody complained that Boxes had it.) -- sils (LasseSchuirmann)

The checkbox could actually be droped and keep single click on the main element area used to select it, while adding the checkbox size icon to launch main action. The bottom toolbar still providing further options. This way you may even have already several selected item and launch only the main action on a single one. For example you selected several text files but would like to check the content of a single one without losing your selection: you just click the "launch" button of the relevant item. --~~~~


2024-10-23 11:03