GNOME Bugzilla – Bug 785838
Filename field loses focus when I click on any item from the side bar
Last modified: 2017-08-14 23:35:48 UTC
Write any text in gedit, press ctrl+s to save, click on any item from the side bar (documents, pictures, etc). The text in the filename field is still selected but when I type the filename the dialog does a search instead to show the filename typed.
(In reply to Strangiato from comment #0) > The text in the filename field is still selected but when I type the > filename the dialog does a search instead to show the filename typed. Yes, the text is still selected, but because you clicked somewhere else, the GtkEntry loses the focus - as you can hopefully tell from your chosen theme removing the highlight around it - and so the keyboard input now goes to the search (since the new focus, the sidebar entry, doesn't handle it). Giving focus back to the entry does not seem like an option, as it would interfere with keyboard navigation. A possible solution is to disable focus-on-click for the sidebar widgets: this would stop them stealing the keyboard focus, but still make them keynavigable for users who want to tab/arrow to them. If not for that last idea, then I'm not sure what else can be done here, really. Maybe a less active-looking colour on the selection highlights of unfocussed entries, etc.?
(In reply to Daniel Boles from comment #1) > A possible solution is to disable focus-on-click for the sidebar widgets: > this would stop them stealing the keyboard focus, but still make them > keynavigable for users who want to tab/arrow to them. adding the ui-review keyword in case that helps to get eyes on this
*** This bug has been marked as a duplicate of bug 756907 ***