X1 Yoga 3rd Gen: touchpad and trackpoint not disabled in tablet mode
Summary
When the screen is folded back to switch into tablet mode, the touchpad and trackpoint (which end up on the bottom) are kept enabled.
This is problematic when holding device in vertical orientation - one of the palms touches the touchpad and produces unnecessary movements. Also, the trackpoint can produce movements when the device is dragged across a desk.
It looks like this was implemented in https://bugs.freedesktop.org/show_bug.cgi?id=106498, but it does not work for me in libinput
1.12.3.
Steps to reproduce
- Fold the screen back completely (so that it touches the bottom half of the laptop).
- Swipe over the touchpad.
- Touch the trackpoint.
- See the pointer moving on the screen.
- Fold the screen back to switch into laptop mode.
libinput version you encountered the bug on
1.12.3.
Hardware information:
Lenovo ThinkPad X1 Yoga 3rd Gen 20LD001FUS.
Other log output:
The logs are from folding the laptop into tablet mode and then back into laptop mode after a few seconds. A side note: the event for switching into tablet mode is produced only after folding the screen back completely.
-
libinput record
output: libinput-record_switching_to_tablet_mode_and_back -
libinput debug-events --verbose
output: libinput-debug-events_switching_to_tablet_mode_and_back
As shown in the attached file, debug-events
prints this message when the mode switch event is produced:
libinput bug: Event for missing capability CAP_SWITCH on device "ThinkPad Extra Buttons"