Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clients can choose whether to commit preedit text before resetting im or not #15

Closed
wants to merge 1 commit into from

Conversation

Projects
None yet
0 participants
@ghost
Copy link

commented Jan 24, 2015

When clicking mouse, last preedit text is not committed and it follows mouse cursor.
https://code.google.com/p/ibus/issues/detail?id=1264

Cause 1:
ibus_im_context_filter_keypress() with --enable-key-snooper always returns FALSE, so GtkTextView doesn't reset input method properly.

Cause 2:
If there is commit() in reset(), reset() doesn't wait commit(), so last preedit text is committed after reset().

If you compile with --disable-key-snooper, this approach using ibus property(CommitPreeditTextBeforeResettingIM) can solve the bug.
Clients can choose whether to commit preedit text before resetting im or not, checking ibus_bus_get_ibus_property (bus, "CommitPreeditTextBeforeResettingIM")

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.