-
Notifications
You must be signed in to change notification settings - Fork 119
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
Add keyboard navigation for search #32
Comments
In addition to alt+←, spot should also support mouse button 4 as back button (and mouse button 5 as forward, if that gets implemented). Most web browsers have this, so I'm used to using my mouse instead of alt+← |
In addition of being able to use mouse button 4 as back button as mentioned above it would be great if the space bar could be used to pause the currently playing track. This is the default in many music / video players (including spotify). |
Already a thing, but it only works on dev branch? I wonder if that has something to do with type-to-search eating events |
Right, I've got some cleanup to do regarding type to search (well, I'll remove it fully to be clear :D ) but indeed it would sometimes eat up keyboard events! Spacebar to toggle playback is there too, but sometimes a widget will steal focus and space will just send the activate signal to it. I'm probably not implementing my shortcuts properly (or maybe it'll be sorted out once we're rid of type-to-search) |
It seems that in 0.3.0 type-to-search everywhere has disappeared, which might be intentional. More importantly, though, since Related to this, there also appears to be a slight UX bug where clicking the search icon brings you to the search screen asking you to "Start typing to search", but focus isn't put in the search field in the header bar, so typing doesn't actually do anything until you manually give it focus. (The improvements in 0.3.0 are nice, though, just wanted to update the status of this issue here.) |
I tried working on this at some point but I somehow can't understand how Gtk handles focusing, I have to dig into it. |
@xou816 In Vala you can set the focus to a widget by calling |
It definitely should be similar, but I had ran into some weird issue, was probably doing something wrong, I'll give it another proper shot! |
There is currently no keyboard navigation for the search field and search view.
There are some keyboard combinations that are well established and are expected by many users.
Going back & forward
alt + ←
This is not only valid in the context of search, but also every other area of the app that has back buttons. (Forward i haven't seen yet).
Focus search field
ctrl+f is the best established combo, especially on GNOME.
closing search view / unfocus search field
esc or pressing ctrl+f again.
moving to search results
It would also be nice if the next logical item when pressing tab, is the first item in the results list, i haven't checked this, but i think it makes sense. :-)
The text was updated successfully, but these errors were encountered: