Comment 17 for bug 1318542

Revision history for this message
Stephen Boddy (stephen-j-boddy) wrote :

In all honesty linux input + ibus + gtk = bat-sh!t crazy.

When ibus is running two key-press events are received. The first is the same as if IBus is not running. The second is identical apart from a RESERVED gtk modifier mask bit being set. I have pushed an update to the tree which brings it up to date with trunk, and adds extra breakdown of the event internals, and dumps out events regardless of if they are discarded, used, or whatever. If someone could repeat Niels' test, it may give a clue as to what the hell is going on here. (Apologies for the back-and-forth, but this is a strange one.)

And I just realised I didn't give instructions for getting the debug branch:
# bzr branch http://bazaar.launchpad.net/~stephen-j-boddy/terminator/bugfix-1318542-double-chars
# cd bugfix-1318542-double-chars

Now test it with:

# ./terminator -g deletemeconfig -u -d --debug-classes Terminal

(On top of that weirdness, *all* events have the GDK_MOD2_MASK flag set if your num lock is on. That confused the hell out of my for a while, because of course this is neither obvious nor documented anywhere as far as I could see. Grrrrrr)