Bug 512404 - Difficulty assigning keyboard shortcuts involving the Touchpad Toggle key
Summary: Difficulty assigning keyboard shortcuts involving the Touchpad Toggle key
Status: REPORTED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_keys (other bugs)
Version First Reported In: 6.5.3
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-20 20:26 UTC by Nowa Ammerlaan
Modified: 2025-11-20 20:26 UTC (History)
3 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 Nowa Ammerlaan 2025-11-20 20:26:00 UTC
SUMMARY
I recently bought a HP Pavilion 300 keyboard which has some keyboard shortcuts which under the hood map to 
- Meta+Alt+Shift+Touchpad Toggle
- Meta+Shift+Touchpad Toggle
- Meta+Touchpad Toggle
- Meta+Ctrl+Touchpad Toggle

These mappings are compared with evtest

I am having some trouble assigning these keys via the systemsettings UI. 
Meta+Shift+Touchpad Toggle is detected as Meta+Touchpad Toggle, and
Meta+Alt+Shift+Touchpad Toggle is detected as Meta+Alt+Touchpad Toggle

The end result is that assigning these keys via the UI does not result in working keyboard shortcuts.

If I assign these keys manually via .config/kglobalshortcutsrc and reboot, then everything works as expected. So the shortcuts work, it is just the assigning via the UI that is broken.

STEPS TO REPRODUCE
1. buy the HP Pavilion 300 keyboard
2. open the systemsettings UI and navigate to the keyboard shortcuts section
3. assign some action to one of the special keys that under the hood map to one or more modifiers plus the touchpad toggle key

OBSERVED RESULT

Incorrect mappings for Meta+Shift+Touchpad Toggle and Meta+Alt+Shift+Touchpad Toggle. 
Correct mappings for Meta+Touchpad Toggle and Meta+Ctrl+Touchpad Toggle.

It seems the combination of shift and the touchpad toggle key is the problematic combination.

EXPECTED RESULT

All keys can be mapped to an action of the users choich

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.17.8-gentoo-dist
KDE Plasma Version: 6.5.3
KDE Frameworks Version: 6.20.0
Qt Version: 6.10.0

ADDITIONAL INFORMATION

nowa@nowa-gentoo-pc .config % cat kglobalshortcutsrc | grep "Touchpad Toggle" -A 5 -B 5
show dashboard=Ctrl+F12,Ctrl+F12,Show Desktop
show-barcode=none,,Show Barcode…
show-on-mouse-pos=none,Meta+V,Show Clipboard Items at Mouse Position
switch to next activity=none,,Switch to Next Activity
switch to previous activity=none,,Switch to Previous Activity
toggle do not disturb=Meta+Alt+Shift+Touchpad Toggle,,Toggle do not disturb

[services][org.kde.krunner.desktop]
_launch=Search\tMeta+Shift+Touchpad Toggle\tAlt+Space\tAlt+F2

[services][org.kde.kscreen.desktop]
ShowOSD=Meta+P\tDisplay

[services][org.kde.plasma.settings.open.desktop]
_launch=Meta+Touchpad Toggle

[services][org.kde.touchpadshortcuts.desktop]
ToggleTouchpad=Touchpad Toggle

[services][spotify.desktop]
_launch=Meta+Ctrl+Touchpad Toggle

[wacomtablet]
Map to fullscreen=Meta+Ctrl+F,Meta+Ctrl+F,Map to fullscreen
Map to screen 1=Meta+Ctrl+1,Meta+Ctrl+1,Map to screen 1
Map to screen 2=Meta+Ctrl+2,Meta+Ctrl+2,Map to screen 2