GNOME Bugzilla – Bug 740037
Enable OSK when in tablet mode
Last modified: 2021-07-05 13:51:05 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.
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.
See logind bug: https://bugs.freedesktop.org/show_bug.cgi?id=86223
Moving to mutter as that's where those sort of changes now live.
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.
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.