SUMMARY When folding the keyboard behind the screen to enter tablet mode, the keyboard gets disabled as expected, but the touchpad remains active. STEPS TO REPRODUCE 1. Fold the keyboard behind the screen of a convertible pc 2. Use the touchpad OBSERVED RESULT I am able to move the mouse using the touchpad behind the screen EXPECTED RESULT The touchpad should be disabled while the pc is in tablet mode SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE Neon Unstable Edition (available in About System) KDE Plasma Version: 5.22.80 KDE Frameworks Version: 5.85.0 Qt Version: 5.15.3 ADDITIONAL INFORMATION The pc is an ASUS TP200S. It has a touchscreen and the screen hinge allows the keyboard to go behind the screen.
The bug occurs on Wayland and X11, and I do not have any other device to test on
This works for me. That tells me that the problem is Libinput not detecting tablet mode properly not not disabling the touchpad as expected. It's what's responsible for doing that. Please report the issue upstream at https://gitlab.freedesktop.org/libinput/libinput/-/issues. Thanks!
Yes I talked to the libinput devs about this and this is due to the PC not sending the tablet mode signal. They helped me troubleshoot the issue.
Cool, what was the problem in the end?
This was an issue with the Asus driver. A kernel dev submitted a patch, and it has now been merged. I am using kernel 5.15 and I do not have the issue anymore. You can read more here https://gitlab.freedesktop.org/libinput/libinput/-/issues/639.