GNOME Bugzilla – Bug 785369
OSK comes up at start on touch with physical keyboard deattached
Last modified: 2017-08-29 19:46:37 UTC
When running on a 2-in-1 tablet, if the tablet is in "stand-alone" tablet mode when starting Maps, the on-screen keyboard comes up. This is (as far as I can see) because we make the search entry widget accept focus by default. This is obviously useful since it allows searching by just start typing on a physical keyboard. But other GNOME apps seems to handle this by letting the main window take events and initiate a search action when appropriate. Maybe we should do something similar.
Created attachment 358717 [details] [review] mainWindow: Don't focus search entry by default Focusing the search entry by default makes the OSK come up on touch devices when launching when no physical keyboard is available. Instead focus it in the key press handler when no other entry is focused (and propagate the event in there).
Attachment 358717 [details] pushed as d0e070b - mainWindow: Don't focus search entry by default