After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 753319 - Backspace should focus on the search field
Backspace should focus on the search field
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: overview
3.16.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2015-08-06 13:37 UTC by Jehan
Modified: 2015-08-07 13:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
viewSelector: Make backspace focus the search entry (1.21 KB, patch)
2015-08-07 12:46 UTC, Rui Matos
committed Details | Review

Description Jehan 2015-08-06 13:37:25 UTC
When the focus is not on the search field, starting typing gives it the focus automatically, which is cool.
Typing the Backspace key on the other hand does not give focus to the search field (even though it has no other use in overview mode).

Steps:
- go in overview mode (for instance with Super key);
- type something, ex: "gimp"
- move the focus with the arrow key
- hit the Backspace key.

Result: nothing happens.

Expected result: focus should be given back to the search field and the last letter should be deleted ("gim" should be written there).

Note: of course, if the cursor was not at the end or some selection were done before focus moved, I would expect these to be taken into account in the "usual" way (selection deleted, etc.).
Comment 1 Rui Matos 2015-08-07 12:46:12 UTC
Created attachment 308894 [details] [review]
viewSelector: Make backspace focus the search entry

Commit fb0cf64536a35d0d018d2f2bd506a9f02af57b14 regressed this because
there's no unicode character for backspace.
Comment 2 Florian Müllner 2015-08-07 13:30:47 UTC
Review of attachment 308894 [details] [review]:

LGTM
Comment 3 Rui Matos 2015-08-07 13:38:09 UTC
Attachment 308894 [details] pushed as 45a6e2c - viewSelector: Make backspace focus the search entry