keybinding not working after update to xorg-7.3

Dear Xmonaders :] Two of my keybindings stoped working when i updated xorg to version 7.3, while other keybindings (also using modMask) still work properly. This might not be a Xmonad problem but someone might be abble to help me solve this ? It looks like the key combo is not grabed anymore (see xev captures below). Any help/pointer would be much appreciated. Regards, Alexandre I'm using a swiss-french keyboard. Here's the output of a "setxkbmap -print" : xkb_keymap { xkb_keycodes { include "xfree86+aliases(qwerty)" }; xkb_types { include "complete" }; xkb_compat { include "complete" }; xkb_symbols { include "pc+ch(fr)" }; xkb_geometry { include "pc(pc105)" }; }; I am using Xmonad (0.3 darcs version) along with RotView, and the buggy keybinding is defined in Config.hs like this : --- import XMonadContrib.RotView ... modMask :: KeyMask modMask = mod4Mask ... , ((modMask, xK_agrave), rotView False) , ((modMask, xK_dollar), rotView True) ... ------------------------------------------------------------------------ And here is a keybinding with which i have no problem even after xorg update : --- ((modMask .|. shiftMask, xK_Return), spawn "urxvt -tr") ------------------------------------------------------------------------ Here is a 'xev' capture with previous xorg version, where the keybinding was working (press 'Win' key and hold, press and release 'agrave' or 'dollar', release 'Win' key) : --- KeyPress event, serial 24, synthetic NO, window 0xe00001, root 0x79, subw 0x0, time 3980496244, (116,531), root:(838,551), state 0x0, keycode 115 (keysym 0xffeb, Super_L), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False FocusOut event, serial 24, synthetic NO, window 0xe00001, mode NotifyGrab, detail NotifyAncestor FocusIn event, serial 24, synthetic NO, window 0xe00001, mode NotifyUngrab, detail NotifyAncestor KeymapNotify event, serial 24, synthetic NO, window 0x0, keys: 2 0 0 0 0 0 0 0 0 0 0 0 0 0 8 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 FocusOut event, serial 24, synthetic NO, window 0xe00001, mode NotifyGrab, detail NotifyAncestor FocusIn event, serial 24, synthetic NO, window 0xe00001, mode NotifyUngrab, detail NotifyAncestor KeymapNotify event, serial 24, synthetic NO, window 0x0, keys: 2 0 0 0 0 0 0 0 0 0 0 0 0 0 8 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 KeyRelease event, serial 24, synthetic NO, window 0xe00001, root 0x79, subw 0x0, time 3980499843, (116,531), root:(838,551), state 0x40, keycode 115 (keysym 0xffeb, Super_L), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False ------------------------------------------------------------------------ And a second capture with xorg 7.3, where the keybinding does not work anymore (same key sequence) : --- KeyPress event, serial 24, synthetic NO, window 0xc00001, root 0x7a, subw 0x0, time 3061096, (670,422), root:(672,442), state 0x0, keycode 115 (keysym 0xffeb, Super_L), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyPress event, serial 24, synthetic NO, window 0xc00001, root 0x7a, subw 0x0, time 3064159, (670,422), root:(672,442), state 0x40, keycode 51 (keysym 0x24, dollar), same_screen YES, XLookupString gives 1 bytes: (24) "$" XmbLookupString gives 1 bytes: (24) "$" XFilterEvent returns: False KeyRelease event, serial 24, synthetic NO, window 0xc00001, root 0x7a, subw 0x0, time 3064247, (670,422), root:(672,442), state 0x40, keycode 51 (keysym 0x24, dollar), same_screen YES, XLookupString gives 1 bytes: (24) "$" XFilterEvent returns: False KeyPress event, serial 24, synthetic NO, window 0xc00001, root 0x7a, subw 0x0, time 3072308, (670,422), root:(672,442), state 0x40, keycode 48 (keysym 0xe0, agrave), same_screen YES, XLookupString gives 2 bytes: (c3 a0) "à" XmbLookupString gives 2 bytes: (c3 a0) "à" XFilterEvent returns: False KeyRelease event, serial 24, synthetic NO, window 0xc00001, root 0x7a, subw 0x0, time 3072380, (670,422), root:(672,442), state 0x40, keycode 48 (keysym 0xe0, agrave), same_screen YES, XLookupString gives 2 bytes: (c3 a0) "à" XFilterEvent returns: False KeyRelease event, serial 24, synthetic NO, window 0xc00001, root 0x7a, subw 0x0, time 3074171, (670,422), root:(672,442), state 0x40, keycode 115 (keysym 0xffeb, Super_L), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False ------------------------------------------------------------------------

On Sep 10, 2007, at 20:52 , alexandre wrote:
Two of my keybindings stoped working when i updated xorg to version 7.3, while other keybindings (also using modMask) still work properly. This might not be a Xmonad problem but someone might be abble to help me solve this ? It looks like the key combo is not grabed anymore (see xev captures below). Any help/pointer would be much appreciated.
I would diff the Xkb databases between the two X11 versions; it looks to me like they changed the keyboard mapping's behavior. -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH

alexandre on 2007-09-11 02:52:28 +0200:
Two of my keybindings stoped working when i updated xorg to version 7.3, while other keybindings (also using modMask) still work properly. This might not be a Xmonad problem but someone might be abble to help me solve this ? It looks like the key combo is not grabed anymore (see xev captures below). Any help/pointer would be much appreciated.
I reported something in Debian bug #435748 a month or so ago - on upgrading xkb-data, some of my modifiers stopped working. I reverted my xkb-data package and things work fine; maybe that will work in your case.

Hello and thank you for your help !
I found an unexpected workaround : When i press ModMask+q (default
binding to "restart Nothing True") my buggy keybindings are back to
business !
Nevertheless, i gave it a try with my old ion3 and the xorg update to
7.3 also causes problems with the same keybinding : error message
"Mod4+agrave : could not convert keysym to keycode".
Le Mon, 10 Sep 2007 21:29:22 -0400,
"Brandon S. Allbery KF8NH"
I would diff the Xkb databases between the two X11 versions; it looks to me like they changed the keyboard mapping's behavior.
Following your advice, i tried to identify what changes could cause the
problem. Although a "diff -U 3 -r ${old-xkb} ${new-xkb}" gave me more than 9000
diff lines, nothing has changed for my xkb model/layout/variant -- or only
variants/options additions and such which i don't use. And in particular, the
'Super_L', 'agrave' and 'dollar' keysym/keycode are identical in both versions.
On the other hand, the xkb databases are rather cryptic to me and i probably
missed the changes which affects my keybindings.
Le Mon, 10 Sep 2007 22:03:01 -0400,
Alec Berryman
I reverted my xkb-data package and things work fine; maybe that will work in your case.
I also tried to revert from the new xkeyboard-config to the old xkbdata, as you suggested, but the keyboard would not work at all. Anyway, thanks again for your inputs. I'll get along with my little workaround till i'm abble to decrypt xkb stuff :] Regards, Alexandre
participants (3)
-
Alec Berryman
-
alexandre
-
Brandon S. Allbery KF8NH