Bug 345130

Summary: Modifier-Shift-Number shortcuts doesn't work
Product: [Frameworks and Libraries] frameworks-kglobalaccel Reporter: Yuxuan Shui <yshuiv7>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bhush94, kdelibs-bugs, plasma-bugs, yshuiv7
Priority: NOR    
Version: 5.1.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: A simple fix

Description Yuxuan Shui 2015-03-14 00:14:33 UTC
Instead of Mod-Shift-Number, when using this kind of key combination as shortcuts, they are showed as 'Mod-!,@,#,etc', and pressing these key combination have the same effect as pressing 'Mod-1,2,3,etc'.

Reproducible: Always
Comment 1 Yuxuan Shui 2015-03-14 01:32:43 UTC
This is due to an inconsistence when handling keys in x11KeyPress, and grabKey. Mod-Shift-1 is handed to grabKey as Mod-!, without the Shift modifier. And in x11KeyPress, it is Mod-Shift-1, with the Shift modifier removed later. So the end result is Mod-1
Comment 2 Yuxuan Shui 2015-03-14 01:40:45 UTC
Created attachment 91551 [details]
A simple fix

This is a patch that solve this problem. Although I'm not sure whether my approach is entirely correct.
Comment 3 Thomas Lübking 2015-03-14 15:09:43 UTC

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