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 740037 - Enable OSK when in tablet mode
Enable OSK when in tablet mode
Status: RESOLVED OBSOLETE
Product: mutter
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
Depends on: 744036
Blocks:
 
 
Reported: 2014-11-12 22:21 UTC by William Jon McCann
Modified: 2021-07-05 13:51 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description William Jon McCann 2014-11-12 22:21:23 UTC
Some convertible systems send a SW_TABLET_MODE key with a value of 1 or 0 to indicate if there is a physical keyboard present. It would be nice to adapt the system to that. For instance, bringing up an OSK when no physical keyboard is present and text input is required.
Comment 1 Bastien Nocera 2014-11-12 22:26:09 UTC
gnome-settings-daemon runs as a user and cannot open input device nodes itself. logind should be monitoring this and exporting the information via D-Bus.

Also, the code to detect whether we should be enabling the OSK is in the cursor plugin now.
Comment 2 Bastien Nocera 2014-11-12 22:33:09 UTC
See logind bug:
https://bugs.freedesktop.org/show_bug.cgi?id=86223
Comment 3 Bastien Nocera 2017-05-17 10:49:10 UTC
Moving to mutter as that's where those sort of changes now live.
Comment 4 Benjamin Berg 2017-08-25 10:01:27 UTC
As a data point: On the Yoga X1 2nd Gen the SW_TABLET_MODE only switches when the laptop is fully opened. The keyboard actually becomes unusable a lot earlier and it is perfectly feasible to place it on the table with the keyboard being unusable. In this case an OSK may still be useful when using the touchscreen.
Comment 5 GNOME Infrastructure Team 2021-07-05 13:51:05 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/mutter/-/issues/

Thank you for your understanding and your help.