Bug 473788 - Tablet mode does not disable touchpad (but it successfully disables the keyboard)
Summary: Tablet mode does not disable touchpad (but it successfully disables the keybo...
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.27.7
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-27 05:02 UTC by Archisman Panigrahi
Modified: 2023-08-28 23:35 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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