Bug 504427

Summary: Touchpad can't be turned off on wayland but can be on X11
Product: [Applications] systemsettings Reporter: berkan <berkan.atalay55>
Component: kcm_touchpadAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: cwo.kde, duha.bugs, natalie_clarius, nate
Priority: NOR Keywords: wayland-only
Version First Reported In: 5.27.5   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In: 6.0.0
Sentry Crash Report:

Description berkan 2025-05-17 17:01:55 UTC
SUMMARY
When using X11 Fn+f5 combo or the button like thing on touchpad can turn off and on the touchpad and popup appears correctly, but in Wayland, it always shows "Touchpad off" popup for a split second and turns back to "Touchpad on" popup but touchpad remains on always. Tried over settings tabs but no it remains on.

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 12
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.0-35-amd64 (64-bit)
Graphics Platform: offscreen
Processors: 8 × Unknown Type, 8 × Intel® Core™ i7-10875H CPU @ 2.30GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Graphics Processor: Nvidia RTX 3060 Max-Q
 
ADDITIONAL INFORMATION
Host: TULPAR T7 V20.3 Standard
Comment 1 cwo 2025-05-18 20:26:05 UTC
Does it work if you disable it in System Settings > Touchpad?
Comment 2 berkan 2025-05-19 12:06:23 UTC
(In reply to cwo from comment #1)
> Does it work if you disable it in System Settings > Touchpad?
Yes, when remove the tick from "Device Enabled" from settings the Touchpad turns off but yet again if I enable it using the keyboard shortcuts it turns on and does the same error, which doesn't turn off again, shows only "Touchpad on" popup only.
Additional info: 
Resolution:1920x1080
What added or removed: Didn't add or remove any program about it.
Comment 3 cwo 2025-05-19 12:26:05 UTC
The shortcut triggers the following command:


dbus-send --type=method_call --print-reply --dest=org.kde.touchpad /modules/kded_touchpad org.kde.touchpad.disable


Can you try running this in a terminal and see if it works there, and/or whether there is an error message?
Comment 4 berkan 2025-05-19 16:19:20 UTC
(In reply to cwo from comment #3)
> The shortcut triggers the following command:
> 
> 
> dbus-send --type=method_call --print-reply --dest=org.kde.touchpad
> /modules/kded_touchpad org.kde.touchpad.disable
> 
> 
> Can you try running this in a terminal and see if it works there, and/or
> whether there is an error message?

When I try that command I get this: Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.kde.touchpad was not provided by any .service files
Comment 5 cwo 2025-05-19 16:22:35 UTC
(In reply to berkan from comment #4)
> When I try that command I get this: Error
> org.freedesktop.DBus.Error.ServiceUnknown: The name org.kde.touchpad was not
> provided by any .service files

Ah, I just noticed you're on Plasma 5.27. The way this works might have changed since then, and I don't have an old version accessible anymore. I doubt I can help you with that.
Comment 6 berkan 2025-05-19 16:43:56 UTC
(In reply to cwo from comment #5)
> (In reply to berkan from comment #4)
> > When I try that command I get this: Error
> > org.freedesktop.DBus.Error.ServiceUnknown: The name org.kde.touchpad was not
> > provided by any .service files
> 
> Ah, I just noticed you're on Plasma 5.27. The way this works might have
> changed since then, and I don't have an old version accessible anymore. I
> doubt I can help you with that.

Thanks anyways
Comment 7 Nate Graham 2025-05-19 18:35:15 UTC
This is all fixed in Plasma 6.