elementary / applications-menu

Applications Menu for elementary OS and the Pantheon desktop environment
https://elementary.io
GNU General Public License v3.0
104 stars 36 forks source link

Focusing the second search item needs to press Tab twice, not once #368

Open ghost opened 4 years ago

ghost commented 4 years ago

Prerequisites

Feature

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

The second result is selected with pressing "Tab" key once.

jeremypw commented 4 years ago

The first Tab moves focus from the search entry to the first item in the list - which seems reasonable.

ghost commented 4 years ago

The first Tab moves focus from the search entry to the first item in the list - which seems reasonable.

Which means user need to remember two methods for switching results. Why not merging. I use web browser searching much more frequently than in the application menu. What about most elementary usrs.

ghost commented 4 years ago

Maybe it's a good idea to add an option in dconf-editor . Let user choose their favorite.

jeremypw commented 4 years ago

In (Chrome) web browser the URL entry and the associated list of options are all one widget so there is no focus switch on the first tab. Also on pressing tab in the web browser the selected url appears in the entry which does not happen in Applications Menu. I guess a similar behaviour could be emulated though.

ghost commented 4 years ago

In generally you hit enter to select first search result in most apps. Like, as other comments mentioned, in most web browsers. First search result is always selected by default. So the tab key navigate to next item.

Not only tab key, but also down arrow key is the same. Like in macOS's spotlight search which don't support tab, need to use arrow key to navigate.

luke-shields commented 3 years ago

I also find this an issue. I'm not sure why you ever access the first item by pressing tab/down arrow and then enter, when just enter would work - so therefore tab/down arrow should select the second option imo