You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE REQUEST] Discover Packages – Search: Browse the search results by pressing the down or up arrow keys #1217
I have searched for my feature proposal and not found a work-in-progress/duplicate/resolved/discarded issue.
This proposal is a completely new feature. If you want to suggest an improvement or an enhancement, please use this template
Describe the new feature
That's, after typing the query, pressing the down arrow key would select the top result, and continuing to press the down arrow key, you continue to go down the list.
Pressing the up arrow key selects from the bottom and upwards.
Obviously, the ability to wrap around would be appreciated; If you're at the bottom entry and press the down arrow key, wrap around to the top entry of the results, and vice versa.
Once on the desired entry, press ENTER to execute.
Also, pressing ENTER on the selected entry in the list (i.e., app) ought to respect the option to instantly install by double-clicking;
Option off: Shows details of the selected app when pressing ENTER.
Option on: Starts installation of the selected app when pressing ENTER.
Describe how this new feature could help users.
More effective navigation, never leaving the keyboard to manage WingetUI.
Unfortunately, this is not possible in a useful manner; there's no way (that we've found) to manually change the focus of the list's items, meaning all the selection would do is move the blue outline rather than actually changing the focus (so none of the other keyboard commands, like the enter key, would work). UniGetUI currently has (the default behavior) something similar; it doesn't wrap around, but it does allow other keyboard interaction, so I think we have to stick with that.
See #3018.
Activity
mrixner commentedon Nov 27, 2024
Unfortunately, this is not possible in a useful manner; there's no way (that we've found) to manually change the focus of the list's items, meaning all the selection would do is move the blue outline rather than actually changing the focus (so none of the other keyboard commands, like the enter key, would work). UniGetUI currently has (the default behavior) something similar; it doesn't wrap around, but it does allow other keyboard interaction, so I think we have to stick with that.
See #3018.
Remove arrow key movement (as selection doesn't focus; see Devolution…