Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When searching the top matching entry should get highlighted #35

Open
mdirik opened this issue Dec 28, 2020 · 1 comment
Open

When searching the top matching entry should get highlighted #35

mdirik opened this issue Dec 28, 2020 · 1 comment

Comments

@mdirik
Copy link

mdirik commented Dec 28, 2020

I'm copying the original bug report (solus-project/brisk-menu#97) in verbatim:

When searching using the textbox the top matching entry in the list of applications should get highlighted to make obvious which app will be run if you press enter.

How it is currently:

not selected

What I think would be better (forced by hovering the mouse):

selected

This violates the principle of least astonishment. Users expect it to be selected and and if nothing is selected you'll be subconsciously assuming the focus is somewhere else and pressing enter won't launch the first item.

@zeehio
Copy link

zeehio commented Jul 12, 2022

I've been for years typing Super (to open the menu) followed by the first characters of what I wanted to open and then pressing the down-arrow key to highlight the first entry followed by enter to open it.

After considering reporting this today, I've experimented a bit (and I found your fantastic issue). Here is what I learnt, in case someone else arrives here:

  • Pressing the down-arrow key highlights the first entry, but doing that you lose the textbox focus, so you can't keep typing or correcting your entry. I never needed to correct my entries so far, because I never press the down-arrow unless I see what I want.
  • I do not need to press the down-arrow to execute the first option. Even if I do not type anything, Super followed by Enter will execute the first app in the list. In my case that's Firefox, and that's convenient.

The original issue (linked) mentioned that highlighting the first result would impact the performance. I don't know how this works internally so I can't evaluate that assessment. I will re-train my memory muscle so I start avoiding pressing the down-arrow key.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants