Created attachment 111319 [details] key assignment for ksmserver I dont have a key named screen saver on my keyboard. This locked the session when i pressed the ^ key above the TAB key. This must be a recent change i cant remember this with older plasma versions. I use plasma wayland in case this makes a difference.
Are you running your system on a laptop or desktop PC? I've seen a couple of laptops with "non-common" layouts or in need for specials configurations/drivers where the defaults are weird to say the least.
Normal desktop PC with a Microsoft Wired Keyboard 600 and a german keyboard layout.
Can you run xev and press the key and see what key code it spits out?
KeyPress event, serial 39, synthetic NO, window 0x3600001, root 0x270, subw 0x0, time 37885372, (167,93), root:(1117,530), state 0x0, keycode 49 (keysym 0xfe52, dead_circumflex), same_screen YES, XLookupString gives 1 bytes: (5e) "^" XmbLookupString gives 0 bytes: XFilterEvent returns: True KeyPress event, serial 39, synthetic NO, window 0x3600001, root 0x270, subw 0x0, time 37885372, (167,93), root:(1117,530), state 0x0, keycode 0 (keysym 0x5e, asciicircum), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 1 bytes: (5e) "^" XFilterEvent returns: False KeyRelease event, serial 39, synthetic NO, window 0x3600001, root 0x270, subw 0x0, time 37885572, (167,93), root:(1117,530), state 0x0, keycode 49 (keysym 0xfe52, dead_circumflex), same_screen YES, XLookupString gives 1 bytes: (5e) "^" XFilterEvent returns: False
The shortcut Qt::Key_ScreenSaver we set translates to XF86XK_ScreenSaver which this clearly isn't. Could be an X server or driver bug but not something we can fix on our side.
As I said in the beginning I am using wayland. Not sure where X does play a role here.