Bug 440190

Summary: Touchpad still active on convertible in tablet mode
Product: [Applications] systemsettings Reporter: Arnaud <arnaud.vergnet>
Component: kcm_touchpadAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 5.22.3   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Arnaud 2021-07-23 12:53:37 UTC
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.
Comment 1 Arnaud 2021-07-23 13:39:02 UTC
The bug occurs on Wayland and X11, and I do not have any other device to test on
Comment 2 Nate Graham 2021-08-04 22:36:15 UTC
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!
Comment 3 Arnaud 2021-08-05 17:01:04 UTC
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.
Comment 4 Nate Graham 2021-08-05 17:24:17 UTC
Cool, what was the problem in the end?
Comment 5 Arnaud 2021-12-28 23:58:23 UTC
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.