| Summary: | "Touchpad toggle" keyboard global shortcut is only set up if you log into a Wayland session first | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Werner Sembach [TUXEDO] <wse> |
| Component: | input | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | duha.bugs, john.kizer, kde, kde, nate |
| Priority: | NOR | Keywords: | wayland-only |
| Version First Reported In: | 6.2.4 | ||
| Target Milestone: | --- | ||
| Platform: | Neon | ||
| OS: | Linux | ||
| See Also: | https://bugs.kde.org/show_bug.cgi?id=496531 | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Werner Sembach [TUXEDO]
2024-12-27 18:56:14 UTC
Hi - the first observed result there is already submitted as https://bugs.kde.org/show_bug.cgi?id=496531. The second observed result is based on https://invent.kde.org/plasma/kwin/-/commit/bf7bdf0be8416a866b3fd063882c6a449e8c736b , which was based at the time on those shortcuts only functioning on Wayland. Are you observing that those touchpad shortcuts are in fact functional on X11 in the same way as on Wayland? Thanks, (In reply to John Kizer from comment #1) > Hi - the first observed result there is already submitted as > https://bugs.kde.org/show_bug.cgi?id=496531. kk > > The second observed result is based on > https://invent.kde.org/plasma/kwin/-/commit/ > bf7bdf0be8416a866b3fd063882c6a449e8c736b , which was based at the time on > those shortcuts only functioning on Wayland. Are you observing that those > touchpad shortcuts are in fact functional on X11 in the same way as on > Wayland? Thanks for the link. No, they don't work on X11, but when you first login into X11 and it is not set, it will also not be set once you switch to wayland. Like this them not being set on X11, even when they are not functional there, also affects wayland, where they are functional. On X11 they should be registered by the touchpad kded module https://invent.kde.org/plasma/plasma-desktop/-/blob/master/kcms/touchpad/kded/kded.cpp#L231 https://invent.kde.org/plasma/plasma-desktop/-/blob/master/kcms/touchpad/actions.cpp A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2761 (In reply to Bug Janitor Service from comment #4) > A possibly relevant merge request was started @ > https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2761 yes looks like it would fix this Git commit 7431cc400e5a22f350cc728dd21ee343cd6c13ec by Nicolas Fella. Committed on 11/02/2025 at 11:54. Pushed by nicolasfella into branch 'master'. [kcms/touchpad] Make toggle touchpad shortcut consistent with Wayland session On Wayland KWin takes care of this and since https://invent.kde.org/plasma/kwin/-/commit/4384f9c5fd9e93d3c2e2c5068fff681685eca874 it includes a shortcut based on Key_Zenkaku_Hankaku Make the X11 version consistent with that, otherwise the configuration diverges between X11 and Wayland and you get different behaviors depending on which one is used first M +2 -1 kcms/touchpad/actions.cpp https://invent.kde.org/plasma/plasma-desktop/-/commit/7431cc400e5a22f350cc728dd21ee343cd6c13ec Git commit 1d13d6fdb04ec75ba5c067bc54222d23a97facc7 by Nicolas Fella. Committed on 11/02/2025 at 12:04. Pushed by nicolasfella into branch 'Plasma/6.3'. [kcms/touchpad] Make toggle touchpad shortcut consistent with Wayland session On Wayland KWin takes care of this and since https://invent.kde.org/plasma/kwin/-/commit/4384f9c5fd9e93d3c2e2c5068fff681685eca874 it includes a shortcut based on Key_Zenkaku_Hankaku Make the X11 version consistent with that, otherwise the configuration diverges between X11 and Wayland and you get different behaviors depending on which one is used first (cherry picked from commit 7431cc400e5a22f350cc728dd21ee343cd6c13ec) M +2 -1 kcms/touchpad/actions.cpp https://invent.kde.org/plasma/plasma-desktop/-/commit/1d13d6fdb04ec75ba5c067bc54222d23a97facc7 |