- 
    Bug 
- 
    Resolution: Done
- 
    P3: Somewhat important 
- 
    None
- 
    4.7.1, 4.8.4
- 
    None
- 
    Archlinux
 KDE 4.5.3
 KDE 4.8.5
 KDE 4.9.4
 KDE 4.9.80
Keyboard shortcuts do not work if US layout is not primary in xkb, like 'setxkbmap -layout ru,us'. GTK applications handle this correctly.
This affects all applications that use keyboard shortcuts.
A simple example application attached (bug-15319-test.zip).
(Aurelien) Note: the bug can be reproduced by switching to the second keyboard layout (US) by calling XkbLockGroup(XOpenDisplay(0), XkbUseCoreKbd, XkbGroup2Index). This is what the second example demonstrates (main.cpp, ShowPressedKey.h, showPressedKey.pro, build.sh).