[Pkg-ime-devel] Bug#661212: Bug#661212: Bug#661212: Bug#661212: ibus-m17n: Thai IM: last cluster lost when switching IM

Daiki Ueno ueno at unixuser.org
Fri Mar 9 11:04:25 UTC 2012


Theppitak Karoonboonyanan <thep at linux.thai.net> writes:

> I've tried applying the patch to 1.3.3-1 without the configuration parts.
> (See the attached patch.) It works quite well for me when switching IMs.
> However, the problem is it double-commits the preedit text when
> focused out.
>
> For example, when I type "ที่" and then immediately switch to another
> window, the preedit "ที่" is committed twice and becomes "ที่ที่".

Thanks for testing.  Yes, I encountered the same problem, but it doesn't
happen always.  I guess this is a timing problem between when ibus
handles focus-out and when m17n-lib handles focus-out.  I'm attaching a
patch based on yours.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: focus-out-behavior.patch
Type: text/x-diff
Size: 1672 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ime-devel/attachments/20120309/e2e6a84f/attachment.patch>
-------------- next part --------------

Regards,
-- 
Daiki Ueno


More information about the Pkg-ime-devel mailing list