Summary: | AltGr does not send correct key codes | ||
---|---|---|---|
Product: | [Applications] krdc | Reporter: | Guillaume Pothier <gpothier> |
Component: | general | Assignee: | Urs Wolfer <uwolfer> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | Fixes situations were the Alt key is not released |
Description
Guillaume Pothier
2008-08-01 18:02:56 UTC
Another combination that doesn't work: Ctrl+Shift+T (it seems to be the same with any Ctrl+Shift combo). Here is the output of xev: KeyPress event, serial 27, synthetic NO, window 0x200001, root 0x25, subw 0x0, time 2159861246, (487,385), root:(492,434), state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyPress event, serial 27, synthetic NO, window 0x200001, root 0x25, subw 0x0, time 2159863006, (487,385), root:(492,434), state 0x4, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 27, synthetic NO, window 0x200001, root 0x25, subw 0x0, time 2159863430, (487,385), root:(492,434), state 0x5, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False KeyPress event, serial 27, synthetic NO, window 0x200001, root 0x25, subw 0x0, time 2159863430, (487,385), root:(492,434), state 0x4, keycode 28 (keysym 0x74, t), same_screen YES, XLookupString gives 1 bytes: (14) "" XmbLookupString gives 1 bytes: (14) "" XFilterEvent returns: False KeyPress event, serial 27, synthetic NO, window 0x200001, root 0x25, subw 0x0, time 2159863430, (487,385), root:(492,434), state 0x4, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 27, synthetic NO, window 0x200001, root 0x25, subw 0x0, time 2159863502, (487,385), root:(492,434), state 0x5, keycode 28 (keysym 0x54, T), same_screen YES, XLookupString gives 1 bytes: (14) "" XFilterEvent returns: False KeyRelease event, serial 27, synthetic NO, window 0x200001, root 0x25, subw 0x0, time 2159863585, (487,385), root:(492,434), state 0x5, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 27, synthetic NO, window 0x200001, root 0x25, subw 0x0, time 2159863641, (487,385), root:(492,434), state 0x4, keycode 37 (keysym 0xffe3, Control_L), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False And yet another one: Ctrl+any number key (not keypad, those above the letters). Xev output: KeyPress event, serial 27, synthetic NO, window 0x3000001, root 0x25, subw 0x0, time 2160200806, (296,197), root:(301,246), state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyPress event, serial 27, synthetic NO, window 0x3000001, root 0x25, subw 0x0, time 2160201101, (296,197), root:(301,246), state 0x4, keycode 49 (keysym 0x60, grave), same_screen YES, XLookupString gives 1 bytes: (00) "" XmbLookupString gives 1 bytes: (00) "" XFilterEvent returns: False KeyRelease event, serial 27, synthetic NO, window 0x3000001, root 0x25, subw 0x0, time 2160201173, (296,197), root:(301,246), state 0x4, keycode 49 (keysym 0x60, grave), same_screen YES, XLookupString gives 1 bytes: (00) "" XFilterEvent returns: False KeyRelease event, serial 27, synthetic NO, window 0x3000001, root 0x25, subw 0x0, time 2160201252, (296,197), root:(301,246), state 0x4, keycode 37 (keysym 0xffe3, Control_L), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False The correct keysym for the number key (2 in this case) is "0x32, 2" not "0x60, grave" SVN commit 841060 by uwolfer: Correctely respect key modifiers in VNC. Patch by Guillaume Pothier, thanks a lot! BUG:168015 BUG:162865 (#162865: fixes KDE 4 issues, other issues listed there are already fixed in KDE 4) M +39 -10 vncview.cpp M +1 -0 vncview.h WebSVN link: http://websvn.kde.org/?view=rev&revision=841060 SVN commit 841061 by uwolfer: Backport: SVN commit 841060 by uwolfer: Correctely respect key modifiers in VNC. Patch by Guillaume Pothier, thanks a lot! CCBUG:168015 CCBUG:162865 (#162865: fixes KDE 4 issues, other issues listed there are already fixed in KDE 4) M +39 -10 vncview.cpp M +1 -0 vncview.h WebSVN link: http://websvn.kde.org/?view=rev&revision=841061 Created attachment 26677 [details]
Fixes situations were the Alt key is not released
When the shift key is pressed, the key event corresponding to pressing the Alt
key actually has the Meta symcode. This patch checks this condition and sends
Alt instead.
SVN commit 843074 by uwolfer: Fixes situations were the Alt key is not released. Patch by Guillaume Pothier, thanks. CCBUG:168015 CCMAIL:gpothier@gmail.com M +4 -1 vncview.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=843074 SVN commit 843075 by uwolfer: Backport: SVN commit 843074 by uwolfer: Fixes situations were the Alt key is not released. Patch by Guillaume Pothier, thanks. CCBUG:168015 M +4 -1 vncview.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=843075 |