on-screen keyboard and auto rotation stays enabled when NOT in tablet mode on 2in1 (yoga 370)
Affected version
Tested it on 3 different distros with 3 different gnome versions:
- Your OS and version: Fedora 35 Workstation edition
- Affected GNOME Shell version: 41.0
- Does this issue appear in XOrg and/or Wayland: XOrg (On wayland everything works perfectly.)
- Your OS and version: Pop!_OS 21.10
- Affected GNOME Shell version: 40.4.0
- Does this issue appear in XOrg and/or Wayland: XOrg (Wayland only has a slight issue see comment#3.)
- Your OS and version: Pop!_OS 20.04 LTS
- Affected GNOME Shell version: 3.36.8
- Does this issue appear in XOrg and/or Wayland: XOrg
Bug summary
On-screen keyboard is enabled in laptop mode (SW_TABLET_MODE == 0) thus OSK pops up when the screen is touched in a text input field.
Auto screen rotation is enabled in laptop mode (SW_TABLET_MODE == 0) thus the screen rotates if I turn the laptop.
What did you expect to happen
OSK shouldn't pop up and the screen shouldn't auto-rotate when the device is in laptop mode (SW_TABLET_MODE == 0).
Relevant logs, screenshots, screencasts etc.
The device is a ThinkPad Yoga 370.
Tablet mode is getting detected as it should, SW_TABLET_MODE is 1 if the keyboard is flipped, and it returns to 0 when it is not flipped. Physical keyboard touchpad trackpad gets disabled in tablet mode as expected.
Recently checked it under Manjaro GNOME (wayland) there it was working as expected.
Edited by arfejes