Bug 345130 - Modifier-Shift-Number shortcuts doesn't work
Summary: Modifier-Shift-Number shortcuts doesn't work
Status: RESOLVED DUPLICATE of bug 341959
Alias: None
Product: frameworks-kglobalaccel
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.1.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-14 00:14 UTC by Yuxuan Shui
Modified: 2015-03-14 15:09 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
A simple fix (847 bytes, patch)
2015-03-14 01:40 UTC, Yuxuan Shui
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***