Hi, On Sat, Nov 25, 2006, Loïc Minier wrote: > Perhaps the difference in behavior comes from the handling of focus. > I can imagine some events are not handled by the same widget, or that > more events are generated in one case than the other, or perhaps in a > different order. I grepped the gedit sources, and I noticed some things which are likely to expose gdk bugs. One of the dangerous things that gedit seems to do is registering a callback for key_press_event signals against some widgets. I can imagine this can break things in subtle ways, but it's probably a bug in Gdk if it let's you break the XIM communication channel (IMO). Either Gdk should let you filter XIM things and only let applications filter post-XIM events (i.e. events generated by XIM or events not handled by XIM) *or* it should permit you to filter all events in a way that will suppress all events forwarded to XIM, or none. I'm attaching a xtrace of a gedit run where I pressed and released left shift multiple time and pressed alt+f4 to exit. Bye, -- Loïc Minier <lool@dooz.org>
Attachment:
gedit.xtrace.gz
Description: Binary data