Bug 438219

Summary: "Caps lock key to additional Hyper" key shortcuts doesn't last after logging out
Product: [Applications] systemsettings Reporter: ebray187 <ebray187>
Component: kcm_keysAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: ebray187, kde, nate
Priority: NOR    
Version First Reported In: 5.21.5   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot

Description ebray187 2021-06-07 16:12:42 UTC
Created attachment 139082 [details]
Screenshot

SUMMARY
Change the Caps Lock behavior to "Make Caps Lock an additional Hyper", and use this key as a shortcut key, works only for the current session. After every logout I have to reconfigure it to make it work.

STEPS TO REPRODUCE
1. Go to System Settings -> Input Devices -> Keyboard -> Advanced tab.
2. On the "Caps Lock behavior" section, make active the "Make Caps Lock an additional Hyper" option.
3. Go to shortcuts and add to the Kwin "Toggle Present Windows (All desktops):" a custom shortcut pressing the Caps Lock button. At this point works fine, just strange symbols on the custom shortcut entry.
4. Log out and log in. Now the shortcut its blank (see attached screenshot).

OBSERVED RESULT
On every session startup the keyboard shortcut is blank and I have to reconfigure it.

EXPECTED RESULT
Preserve the setup after logging out.

SYSTEM INFO
Operating System: Gentoo Linux
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Kernel Version: 5.10.27-gentoo
OS Type: 64-bit
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7 CPU 870 @ 2.93GHz
Memory: 7,8 GiB of RAM
Graphics Processor: AMD JUNIPER

ADDITIONAL INFORMATION
xev show that the keycode is the same before and after logging out.
Before:
KeyPress event, serial 40, synthetic NO, window 0x5200001,
    root 0x71e, subw 0x0, time 960453, (-460,115), root:(2010,588),
    state 0x10, keycode 66 (keysym 0xffed, Hyper_L), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

After:
KeyPress event, serial 28, synthetic NO, window 0x4800001,
    root 0x71e, subw 0x0, time 5104226, (163,-17), root:(2408,555),
    state 0x10, keycode 66 (keysym 0xffed, Hyper_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

Regards
Comment 1 Nate Graham 2021-06-08 19:20:35 UTC
Can reproduce.