Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1761 by [email protected]: ibus_im_context_filter_keypress always returns FALSE
https://code.google.com/p/ibus/issues/detail?id=1761

What version of the product are you using? On what operating system?
OS (Linux distributions, UNIX or ...): Debian Wheezy
Architecture (i386, x86_64): i386
IBus version: 1.4.1
Input method name and version: ibus-pinyin, ibus-anthy, ibus-hangul
Python version: 2.7.3
dbus version: 1.6.8
dbus-python version: 1.1.1
gtk version (if bug is about gtk applications): gtk 3.4.2, gedit
qt version (if bug is about qt applications):

What steps will reproduce the problem?
1. Add debugging code to know return value of gtk_im_context_filter_keypress in gtk/gtktextview.c
2. Add debugging code in ibus/client/gtk3/ibusimcontext.c
3. Run gedit and type in Chinese or Japanese, Korean.

What is the expected output? What do you see instead?

If ibus consumes key event, ibus_im_context_filter_keypress should return TRUE, otherwise FALSE.

This bug is due to asynchronous operation of ibus. ( https://code.google.com/p/chromium/issues/detail?id=354495#c6 )

In all case that application uses GtkTextView, last letter or string we typing would follow mouse click, because ibus_im_context_filter_keypress always returns FALSE.

related issue:
https://code.google.com/p/ibus/issues/detail?id=1264

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
You received this message because you are subscribed to the Google
Groups "ibus-devel" group.
iBus project web page: http://code.google.com/p/ibus/
iBus dev group: http://groups.google.com/group/ibus-devel?hl=en
--- You received this message because you are subscribed to the Google Groups "ibus-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

回复