GNOME Bugzilla – Bug 785805
Keyboard navigation with tab is broken by search entry widget
Last modified: 2017-08-05 10:41:56 UTC
The search entry widget in the source toolbar swallows 'tab' and 'shift-tab' keyboard events, which means that keyboard navigation around the UI is impossible. Reproduced with Rhythmbox 3.4.1 from Fedora 25.
As a workaround, ctrl+shift+tab will get the cursor out of the entry again. It seems that rb_search_entry_grab_focus() is the issue, for some reason it gets called from gtk_container_focus() when we try to move the focus forwards and presumably steals focus back again.
Created attachment 356953 [details] [review] Fix keyboard navigation over the search entry The RbSearchEntry widget is a container so it can't have the focus. It contains a GtkEntry which can. Setting 'can-focus' to TRUE was confusing the gtk_container_focus() function causing focus to get stuck on the RbSearchEntry.
Review of attachment 356953 [details] [review]: pushed as commit a50d21f
I've had the same change in a branch somewhere for ages.