I use xkb to redirect certain keybindings to arrow key (C-npbf -> <Down><Up><Left><Right>). Before [this patch](http://patchwork.freedesktop.org/patch/9144/), gtk3 programs 1, recognize a C-npbf event when I simply press npbf 2, C-npbf are also being recognized incorrectly (seems like M-npbf but not sure) 3, there is `Gdk-WARNING **: Event with type {8,9} not holding a GdkDevice. It is most likely synthesized outside Gdk/GTK+` error message generated when pressing C-npbf. (1 and 2 also happen in wireshark.) After the above patch, the npbf keys are recognized correctly (problem 1 disappear and 2 also disappear for wireshark), but problem 2 and 3 are still there for all gtk3 programs (I suppose this is a special case that the patch author haven't considered?). According to the discussion of the patch, I think this can/should be fixed in x server (and also seems to be half-way fixed). My configuration of one redirection key looks like this. key <AB05> { type= "EMACS_KEYS", symbols[Group1]= [b, B, Left, Left], actions[Group1]= [NoAction(), NoAction(), RedirectKey(keycode=<LEFT>, clearMods=Control), RedirectKey(keycode=<LEFT>, mods=Shift, clearMods= Control)] }; Distro: Arch Linux x86_64 with [testing] enabled xorg-server: 1.12.0.901-1 from Arch Official Repo (I suppose the xkb patch has already been included in this release.) Gtk3: 3.4-1 from Arch [testing] THX for the xkb patch anyway. At least gtk3 programs are "useable" now. (although have some problem with shortcuts.)
There is a reworked version of the patch: http://patchwork.freedesktop.org/patch/9252/ > xorg-server: 1.12.0.901-1 from Arch Official Repo (I suppose the xkb patch has already been included in this release.) I looked at xorg-server-1.12.0.901.tar.gz from cgit.freedesktop.org, the patch is not included there (neither 9144 nor 9252). I also do not see how it would fix your issue 1; that was probably fixed by another change. So, it makes sense to try patch 9252. I suppose it will at least address issue 3 (the warnings). If C-n misbehaves as C-Down, C-p misbehaves as C-Up, it probably also fixes issue 2.
I C. so somehow the most weird problem is fixed somewhere~~~ I might guess gtk3.4 but~~ don't know...... I might test the git version when I have time to find out the how to compile that (since the PKGBUILD in aur is broken). Thx again for the fix I have waiting for a long time. Close for now. Reopen if git version (or a future release with the patch included) still has problem.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.