Bug 220925 - Some global shortcut "key combinations" not working
Summary: Some global shortcut "key combinations" not working
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_khotkeys (other bugs)
Version First Reported In: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Michael Jansen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-01 21:33 UTC by xalanxerces
Modified: 2011-08-01 03:37 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description xalanxerces 2010-01-01 21:33:37 UTC
Version:            (using KDE 4.3.3)
Compiler:          gcc (Gentoo 4.3.4 p1.0, pie-10.1.5) 4.3.4 
OS:                Linux
Installed from:    Gentoo Packages

In the global keyboard shortcuts, some key combinations are not working. On kde3 I used to have "Ctrl+Alt+_" to "Maximize window vertically". However, that keyboard shortcut no longer works in kde4. That keyboard shortcut is not assigned to any other application. Also I tried "Ctrl+Alt++", that also does not work. I tried some more combinations. "Ctrl+Alt+=" and "Ctrl+Alt+Up" work. Right now as a fallback I am using "Ctrl+Alt+Up", however I would like "Ctrl+Alt+_" to be working.

To confirm that the keyboard shortcut is registering I looked at ~/.kde4/share/config/kglobalshortcutrc and it is there. But it wont work.

I also logged out and logged back in to refresh kde session, but the problem persisted.
Comment 1 Daniel Hahler 2010-07-24 02:30:28 UTC
This might be related to bug 243390.

Is Shift involved in your case?
Like that you have to press Shift and some key to get "_" or "+"?
Comment 2 Simon Persson 2011-08-01 03:37:32 UTC
Git commit 568cb9268a3f940564d155526cb81cec4327cbf6 by Simon Persson.
Committed on 29/06/2011 at 04:56.
Pushed by persson into branch 'master'.

Fix global shortcuts that include symbols produced with shift key

KKeySequenceWidget (used to enter shortcuts) removes shift from the
recorded shortcut if the symbol produced from that key is different
when shift is used. kglobalaccel needs to include shift in the grab in
order to be triggered on this class of shortcuts, and then in the
keypress event handler it also needs to strip the shift again before
checking which shortcut was just triggered.
BUG: 179504
BUG: 197548
BUG: 215030
CCMAIL: kde@michael-jansen.biz
REVIEW: 101520

M  +23   -3    kglobalaccel/kglobalaccel_x11.cpp     

http://commits.kde.org/kde-runtime/568cb9268a3f940564d155526cb81cec4327cbf6