After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 785369 - OSK comes up at start on touch with physical keyboard deattached
OSK comes up at start on touch with physical keyboard deattached
Status: RESOLVED FIXED
Product: gnome-maps
Classification: Applications
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gnome-maps-maint
gnome-maps-maint
Depends on:
Blocks:
 
 
Reported: 2017-07-24 20:55 UTC by Marcus Lundblad
Modified: 2017-08-29 19:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
mainWindow: Don't focus search entry by default (2.90 KB, patch)
2017-08-29 19:40 UTC, Marcus Lundblad
committed Details | Review

Description Marcus Lundblad 2017-07-24 20:55:12 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.
Comment 1 Marcus Lundblad 2017-08-29 19:40:05 UTC
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).
Comment 2 Marcus Lundblad 2017-08-29 19:46:33 UTC
Attachment 358717 [details] pushed as d0e070b - mainWindow: Don't focus search entry by default