Bug 393520

Summary: Certain key shortcuts don't work
Product: [Frameworks and Libraries] frameworks-kglobalaccel Reporter: Jonathan Reeve <jon.reeve>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: david, h.klene, jon.reeve
Priority: NOR    
Version: 5.45.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jonathan Reeve 2018-04-25 20:40:05 UTC
I'm trying to set some keyboard shortcuts in KDE. Some key combinations will work, and others won't, without explanation. For instance, I'm trying to set "Switch One Desktop Down" to Meta+N. I can set it fine, but then pressing Meta+N doesn't do anything. If I bind it to some other key combination, like Meta+H, or Alt+(, it works fine.

If I open a terminal and type one of the key combinations I set, working ones don't show anything, but non-working ones print things in the terminal. For instance, since Meta+H works, I'll type Meta+H in a terminal, and nothing happens, since it's bound to "Switch to Desktop to the Right," and there is no right desktop. But if I type Meta+N, I see the terminal display @sn. Same for Meta+I, another key combination that isn't working. If I type Meta+I in a terminal, it prints @si.

I looked in the config files (kglobalshortcutsrc) and nothing looks out of the ordinary there. I tried searching the file for other instances of Meta+N, in case there is a conflict, but there isn't more than one entry.

I tried running dbus-monitor, to see what it's seeing, and I also tried removing kglobalshortcutsrc and khotkeysrc, setting everything to defaults, and setting everything to "none."

I'm using Arch, with the latest KDE packages. If I'm not mistaken, this is a recent development, since KDE didn't have this problem a few days ago. I tried downgrading kwin, and kglobalaccel, but neither has worked yet.
Comment 1 Jonathan Reeve 2018-04-25 21:08:01 UTC
I should add that I use the Colemak keyboard layout. I can reproduce this bug with a new user account by switching to colemak, and then assigning Meta+N to something. It's probably related to this in some way, since keys that are the same in qwerty and colemak, like H, are unaffected.
Comment 2 david 2018-08-03 19:58:40 UTC
This looks very much like https://bugs.kde.org/show_bug.cgi?id=355046
Comment 3 Holger 2018-10-01 20:40:11 UTC

*** This bug has been marked as a duplicate of bug 355046 ***