Comment #22 on issue 1264 by takao.fujiwara1: Bug with Korean mode
https://code.google.com/p/ibus/issues/detail?id=1264

And committing preedit string by timeout is not feasible to korean users.

It's strange for me that preedit is not committed until Enter or space key is pressed or the cursor is moved while the actual people have already commit the characters.
The timeout is one of the ideas.
Japanese thumb shift mode uses the thumb for the combination keys.
E.g. The default thumb key is Menu key and Menu + 'r' + 'k' outputs '가' and this way can inform IME of the interval of preedit.

The current implementation is similar with the surrounding text feature but we'd suggest to use preedit feature instead and users recognize the difference between preedit and committed text.

I agree with you. So I've suggested to use IBusPreeditFocusMode.

This way might not be relative with this timing issue.

I think we don't need the panel setting.

Right. I meant the each engine setting instead of the setting in ibus-setup.
But probably the setting itself is not needed since all engines can use the same setting.


ibus should commit preedit text when reset. otherwise, reset() is wrong.

However I think the reset APIs do not ensure the cursor position as the specification. We expect the preedit text is also moved when cursor is moved in Japanese and Chinese.

ibus_im_context_reset (GtkIMContext *context)

Currently ibus-daemon handles preedit, i.e. bus/inputcontext.c. If we use this suggestion, I think we need to move the logic of the preedit in ibus-daemon to all clients; im-ibus.so, ibus-x11 and maybe QT5 later so that the time lag is deleted.

However myself feel the change is still a workaround.
To fix every thing might be to prepare sync version for all APIs.
E.g. it's a bit complicated for me to change ibus_engine_commit_text() for sync mode. And async mode is still needed and that's why there is no perfect solution and we suggest preedit text is always commited before any mouse events.

--
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.

回复