Touchscreen is detected as mouse on Wayland session of KDE Plasma
Summary
Hello
I use a laptop with touchscreen running the Wayland session of KDE Plasma DE. My touchscreen is detected as mouse in Mouse module of KDE settings. This bug does not occur when using X11 session.
I have rported this bug to KDE developers:
https://bugs.kde.org/show_bug.cgi?id=428520
In comment 4, KDE developer Nate Graham says:
Here's the problem:
Device: SYNAPTICS Synaptics Large Touch Screen Mouse Kernel: /dev/input/event5 Group: 5 Seat: seat0, default Capabilities: pointer
The same device is also reported correctly as a touch device; IMO its pointer representation should be filtered out at the Libinput level. Please submit a bug report at https://gitlab.freedesktop.org/libinput/libinput/-/issues/. It's possible they'll say we should be the ones to filter it out, but I'd like to make sure it's not an upstream issue first.
The KDE bug was originally reported against neon unstable distro (based on Ubunto 22.04) running an old version of libinput, but I can also reproduce on Manjaro distro running libinput 1.25.0-1.
Steps to reproduce
- install a linux distro with KDE Plasma DE on a laptop with touchscreen
- use the Wayland session of KDE Plasma
- open System Settings of KDE Plasma and go to Mouse module
Required information
- libinput version: 1.25.0-1
- hardware information: Lenovo G400S Touch laptop
-
libinput record
output: do not paste, attach the file -
libinput debug-events --verbose
output: do not paste, attach the file