Bug 473788

Summary: Tablet mode does not disable touchpad (but it successfully disables the keyboard)
Product: [Plasma] kwin Reporter: Archisman Panigrahi <apandada1>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: apandada1, nate
Priority: NOR    
Version: 5.27.7   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Archisman Panigrahi 2023-08-27 05:02:44 UTC
SUMMARY
***
I am using KDE Plasma on a laptop with a keyboard that can be flipped. The physical keyboard gets disabled in the tablet mode (when the keyboard is folded). However, while the keyboard is disabled in the tablet mode, the touchpad below the keyboard is not disabled, and it receives accidental touch events as my fingers fall on the touchpad. 
Tablet mode should also disable the touchpad input, so that it does not receive accidental touch events.
***


STEPS TO REPRODUCE
1. Enable tablet mode by flipping the keyboard on a touch screen laptop

OBSERVED RESULT
In the tablet mode, the touchpad still registers touch events, while the keyboard is disabled.

EXPECTED RESULT
The touchpad should also be disabled in the tablet mode, so that it does not receive accidental input, which causes the mouse cursor to move randomly.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10
Comment 1 Nate Graham 2023-08-28 20:13:37 UTC
This is a bug in your device's firmware or in Libinput then, as disabling the touchpad is handled at a layer below us. I'd recommend submitting a bug report first to Libinput at https://gitlab.freedesktop.org/libinput/libinput/-/issues.
Comment 2 Archisman Panigrahi 2023-08-28 23:35:38 UTC
(In reply to Nate Graham from comment #1)
> This is a bug in your device's firmware or in Libinput then, as disabling
> the touchpad is handled at a layer below us. I'd recommend submitting a bug
> report first to Libinput at
> https://gitlab.freedesktop.org/libinput/libinput/-/issues.

I have reported a bug here https://gitlab.freedesktop.org/libinput/libinput/-/issues/929