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


[Home] [TitleIndex] [WordIndex

Selections and Insertions

Design page for text selection and manipulation, including cut, copy and paste. Could also include additional capabilities based on the type of content selected (for example: search or automatic spell check).

Goals

Primary

Secondary

Constraints

Don't interfere with:

Relevant Art

GNOME 3.0

Mouse:

Keyboard:

Touchpad (depending on configuration):

Touchscreen (depending on configuration)

Action on the selection in general do depend on the container object. For example:

Shortcomings

Android

iOS

Double Tap

https://lh5.googleusercontent.com/-HWDdnt5AXrw/TtdvXDEJlLI/AAAAAAAAY4A/G5RceHa06wU/s400/photo%25201.PNG

Long Press

https://lh5.googleusercontent.com/-c1fV-JI2tk0/TtdvXEEhqhI/AAAAAAAAY38/t6KqAFkJe-Q/s400/photo%25203.PNG https://lh6.googleusercontent.com/-sQGSjQjXfKA/Ttdy2tz4tdI/AAAAAAAAY5s/qQHbizKJk04/s400/photo%25201.PNG https://lh6.googleusercontent.com/-DsLqxipDpLo/Ttdy2rYYvcI/AAAAAAAAY50/Z6FMBEujuL8/s400/photo%25202.PNG

Drag selection handles

https://lh5.googleusercontent.com/-nmuFXRkTSQE/TtdvXztmADI/AAAAAAAAY4I/0GEKUXfN3OU/s400/photo%25204.PNG https://lh4.googleusercontent.com/-qHDLM7Z_pT4/Ttdy2tGq1XI/AAAAAAAAY5w/ixe7FjO0Ggg/s400/photo%25203.PNG

Selection actions

https://lh4.googleusercontent.com/-z-WaAwtXhQs/TtdvYYBPynI/AAAAAAAAY4Q/0JT9IA6-YEI/s400/photo%25205.PNG https://lh4.googleusercontent.com/-YG7z7OITfGg/Ttdvls9exFI/AAAAAAAAY4o/SUnraCyaMcQ/s400/photo%25203.PNG https://lh3.googleusercontent.com/-emWi3vdInDQ/TtdvmfR2J0I/AAAAAAAAY40/e-lHy8CWl-8/s400/photo%25204.PNG https://lh6.googleusercontent.com/-RxOqvMbl_mA/TtdvxjPcuKI/AAAAAAAAY5U/JSZlppetM6s/s400/photo%25202.PNG https://lh5.googleusercontent.com/-2g4WqhXDmnU/Ttdvx_r-cXI/AAAAAAAAY5Y/ilQHBn2x_Xg/s400/photo%25203.PNG

Insertion

https://lh4.googleusercontent.com/-Iu3vpyXXH2k/TtdvmlX2Y8I/AAAAAAAAY48/JXcOul1GldI/s400/photo%25205.PNG https://lh5.googleusercontent.com/-1ztNNlL4Rsc/Ttdvl3oioVI/AAAAAAAAY4w/m-gLFzx3un4/s400/photo%25202.PNG https://lh5.googleusercontent.com/-VkwdI5tG3ng/TtdvlvgP-DI/AAAAAAAAY4s/_QZlRoTQ6qE/s400/photo%25201.PNG

Windows 8

These are just context menus:

win8-selections.png win8-selections2.png

Single tap

https://lh6.googleusercontent.com/-rDmIwJX88Zc/TtiV1SRc6RI/AAAAAAAAY6U/81PF-Ff495E/s400/Screenshot%2520at%25202011-12-02%252010%253A06%253A43.png https://lh3.googleusercontent.com/-Z6VwYL4Y_-Q/TtiV0_rP4SI/AAAAAAAAY6M/0mP-SGVpICs/s400/Screenshot%2520at%25202011-12-02%252010%253A06%253A50.png

Single tap on selection

https://lh6.googleusercontent.com/-ogVuO-K06tw/TtiV02ei1eI/AAAAAAAAY6I/etZSNdIZZaU/s400/Screenshot%2520at%25202011-12-02%252010%253A07%253A09.png

Long press on entry

https://lh4.googleusercontent.com/-dk38ak_v6BQ/TtiV05dIYrI/AAAAAAAAY6Q/143MKtxTI9w/s400/Screenshot%2520at%25202011-12-02%252010%253A07%253A18.png

Sugar

The Sugar designers and developers have been working on a touch friendly text selection, a description and animations of the design with a first implementation in a GTK+ branch can be found at http://wiki.sugarlabs.org/go/Design_Team/Sugar_Shell_Touch_Input#Text_editing.

Other

http://www.mediawiki.org/wiki/Special:VisualEditorSandbox:

mediawiki1.png

mediawiki2.png

Discussion

It is difficult to use long press, due to the interaction with scrolling.

Tentative Design

Touch screen interaction can occur with or without a physical keyboard being present - while use of a touchscreen and physical keyboard will be an usual combination for editing text, it should be handled.

Touch - Insertion and Text Entry

https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/master/selections/insertions-touch.png

Single tap - place text cursor and display single drag handle.

Second tap - paste popover is displayed.

Touch - Selections

https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/master/selections/selections-touch.png

Double tap - select word and display twin selection handles.

Second tap - editing popover is displayed (shows select all, cut, copy, paste).

Mouse - Insertion and Text Entry

Single click to place text cursor. (No handle displayed.)

Second click on the insert point shows the paste popover.

Right click shows paste popover, whether insert point is already present or not.

Mouse - Selections

How to select text:

When text is selected:

Text Editing Popovers

Insertion: includes paste by default (shown as a button). Additional menu items can be shown by the application.

https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/master/selections/popover-insertion.png

Selection: includes select all, cut, copy and paste by default. Additional menu items can be shown by the application.

https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/master/selections/popover-selection.png

Keyboard

action

shortcut

note

Focus Handle

Tab

cycles handle<>selection<>handle

Move handle

left, right by character, up, down - by line

Cancel Selection

Esc

Select Word

??

Select All

Ctrl + A

In non-editable context only available if selection exists

Bugs

TO DO: report these

Comments

Several aspects of the design above are still too unclear:

See Also


2024-10-23 11:03