https://bugs.kde.org/show_bug.cgi?id=512404

            Bug ID: 512404
           Summary: Difficulty assigning keyboard shortcuts involving the
                    Touchpad Toggle key
    Classification: Applications
           Product: systemsettings
      Version First 6.5.3
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: kcm_keys
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
  Target Milestone: ---

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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to