Bug 455619

Summary: ability to disable touchscreen
Product: [Applications] systemsettings Reporter: aschonforums
Component: kcm_touchscreenAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: aleixpol, kde, nate, nicolas.fella, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.25.90   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.27
Sentry Crash Report:

Description aschonforums 2022-06-19 18:31:00 UTC
SUMMARY
My touchscreen ocasionally registers random touch inputs due to being cracked, and it took some messing around in konsole to disable it. it would be nice to have an option of disabling it from system settings.
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 hexchain 2022-10-03 05:35:47 UTC
I would also like the ability to disable the touchscreen, especially on Wayland, since there's no other way (like xinput) anymore.

Operating System: Arch Linux
KDE Plasma Version: 5.25.90
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6
Kernel Version: 5.19.12-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 PRO 6860Z with Radeon Graphics
Memory: 30.1 GiB of RAM
Graphics Processor: REMBRANDT
Comment 2 Bug Janitor Service 2022-11-01 17:55:05 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/1227
Comment 3 Nicolas Fella 2022-11-22 15:57:38 UTC
Git commit c32f3be935913f76b9c46bd93ef6af086ba4be76 by Nicolas Fella.
Committed on 22/11/2022 at 11:38.
Pushed by nicolasfella into branch 'master'.

Add touchscreen KCM

There are various properties of a touchscreen that the user may want/need to configure

First the user may want to disable the touchscreen altogether

Then there are some cases where the touchscreen isn't automatically assigned to the correct display and a manual override is needed

This new KCM provides a way to do both

It is Wayland-only
Related: bug 411877

M  +1    -0    kcms/CMakeLists.txt
A  +44   -0    kcms/touchscreen/CMakeLists.txt
A  +2    -0    kcms/touchscreen/Messages.sh
A  +185  -0    kcms/touchscreen/devicesmodel.cpp     [License: GPL(v2.0+)]
A  +51   -0    kcms/touchscreen/devicesmodel.h     [License: GPL(v2.0+)]
A  +103  -0    kcms/touchscreen/inputdevice.cpp     [License: GPL(v2.0+)]
A  +167  -0    kcms/touchscreen/inputdevice.h     [License: GPL(v2.0+)]
A  +17   -0    kcms/touchscreen/kcm_touchscreen.json
A  +125  -0    kcms/touchscreen/kcmtouchscreen.cpp     [License: LGPL(v2.0+)]
A  +40   -0    kcms/touchscreen/kcmtouchscreen.h     [License: LGPL(v2.0+)]
A  +83   -0    kcms/touchscreen/package/contents/ui/main.qml     [License: GPL(v2.0+)]

https://invent.kde.org/plasma/plasma-desktop/commit/c32f3be935913f76b9c46bd93ef6af086ba4be76