[Fedora-i18n-bugs] [Bug 461905] ibus always sends XIM_FORWARD_EVENT with same_screen = False

bugzilla at redhat.com bugzilla at redhat.com
Thu Sep 25 08:59:35 UTC 2008


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=461905


Akira TAGOH <tagoh at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |shawn.p.huang at gmail.com
          Component|imsettings                  |ibus
         AssignedTo|tagoh at redhat.com            |shawn.p.huang at gmail.com
            Summary|ibus can not work in xterm  |ibus always sends
                   |and other XIM apps          |XIM_FORWARD_EVENT with
                   |                            |same_screen = False




--- Comment #2 from Akira TAGOH <tagoh at redhat.com>  2008-09-25 04:59:34 EDT ---
The above comment is a side-effect, because the XIM_FORWARD_EVENT sent back is
usually sent synchronously. so it was the second time event and ibus was just
waiting for XIM_SYNC event.

Anyway, I have tracked down this issue. The real issue is that imsettings
doesn't support any X events forwarded from the different screen yet, but ibus
always sends back the X event without checking that, and set (XKeyEvent
*)ev->same_screen to False. i.e. "xkp.xkey.same_screen = False" in
_xim_forward_gdk_event in client/x11/main.c. this caused discarding the event
in imsettings. I'm still not sure if just forwarding it as is really makes the
expected behaviour and have never tested yet how the event is sent when
inputing something from another screen. thus, I'd suggest to fix this in ibus
as always sending same_screen = False is incorrect at least.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the i18n-bugs mailing list