Bug 154536

Summary: Changing shortcut creates an invalid shortcut when it is the same as keyboard layouts group change shortcut
Product: kxkb Reporter: Gabriel Trisca <tog000>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED UPSTREAM    
Severity: normal CC: arysin, grundleborg
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Gabriel Trisca 2007-12-23 16:46:39 UTC
Version:           4.0 SVN (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc version 4.1.2 (Gentoo 4.1.2 p1.0.2) 
OS:                Linux

When changing a shortcut in kde programs (konsole, konqueror, dolphin, etc) and the desired shortcut includes the shorcut used for keyboard layout (group change) in kxkb, instead of showing the proper shortcut, it creates a different one, showing that 'other' keys have been pressed.

The bug is reproducible when:
-Kxkb is running and its configured to change layour groups with Ctrl+Alt
-You try to modify a shortcut to be in the form of "Ctrl+Alt+[LETTER]"

Instead of creating "Ctrl+Alt+[LETTER]" it creates "Meta+Ctrl+Alt+Shift+?, [LETTER]" and the shortcut doesnt work.

The workaround is to disable group switching in kxkb and then shortcuts work properly again.

One last thing: If one inputs the new shortcut pressing *first* Alt, then Ctrl and the key, it works.
Comment 1 Andriy Rysin 2008-07-17 19:39:15 UTC
I think it's related to this one https://bugs.freedesktop.org/show_bug.cgi?id=865
Comment 2 Andriy Rysin 2008-12-13 23:40:27 UTC
This is not kxkb bug, the link to the x.org bug is provided above, marking as UPSTREAM.