Bug 502030 - Plasma ignores 2nd level symbols defined in xkeyboard-config at some but not all places.
Summary: Plasma ignores 2nd level symbols defined in xkeyboard-config at some but not ...
Status: REPORTED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_keyboard (other bugs)
Version First Reported In: 6.3.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-26 15:39 UTC by Werner Sembach [TUXEDO]
Modified: 2025-11-12 15:07 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Werner Sembach [TUXEDO] 2025-03-26 15:39:39 UTC
SUMMARY
On X11 when binding 2 functions to a key in xkeyboard-config like this for example:
`key <MUTE>   {      [ XF86AudioMute, XF86TouchpadToggle ], type[group1] = "PC_SUPER_LEVEL2"};`
xev and systemsettings->shortcuts both correctly see `Meta + TouchpadToggle` when pressing `Meta + Mute`.
However plasma still reacts to the XF86AudioMute keypress and not to the XF86TouchpadToggle one.

STEPS TO REPRODUCE
1. Edit /usr/share/X11/xkb/symbols/inet to have
`key <MUTE>   {      [ XF86AudioMute, XF86TouchpadToggle ], type[group1] = "PC_SUPER_LEVEL2"};`
instead of
`key <MUTE>   {      [ XF86AudioMute         ]       };`
and reboot to apply the settings change.
2. Bind Meta + TouchpadToggle to touchpad toggle using systemsettings -> shortcuts
3. Press Meta + Mute

OBSERVED RESULT
Audio is muted

EXPECTED RESULT
Touchpad is disabled

SOFTWARE/OS VERSIONS
Linux: 6.14
KDE Plasma Version: 6.3.2
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2

ADDITIONAL INFORMATION
The example above is a constructed example to more easily reproduce a bug I came across in this more complicate real world example (it would require a kernel patch, a special notebook, and a new xkeyboard-config type defintion): https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/merge_requests/816
Comment 1 Werner Sembach [TUXEDO] 2025-03-26 15:43:40 UTC
A possible workaround for the realworld problem the caused me to stumble over this bug would be to add yet another default binding to touchpad toggle: "Control + Meta + F24".
Comment 2 Werner Sembach [TUXEDO] 2025-06-18 14:01:19 UTC
A gentle bump.
Does anybody have an idea where to look to fix this?
Comment 3 Werner Sembach [TUXEDO] 2025-11-04 16:26:47 UTC
bump again

It is mainly relevant for this: https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/merge_requests/866

hope that gets included, but still need the fix on this side
Comment 4 Werner Sembach [TUXEDO] 2025-11-12 15:07:47 UTC
(In reply to Werner Sembach [TUXEDO] from comment #3)
> bump again
> 
> It is mainly relevant for this:
> https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/
> merge_requests/866
> 
> hope that gets included, but still need the fix on this side

small update: the xkb patch is now merged