Re: XIM issue

From: <msevior_at_physics.unimelb.edu.au>
Date: Thu Mar 31 2005 - 11:55:30 CEST

>
>
>
> I've just submitted a patch to bugzilla for #8672:
>
> http://bugzilla.abisource.com/show_bug.cgi?id=8672
>
> This deals with behaviour that is minor, but still extremely annoying for
> people typing in languages that require Input Methods (e.g. Chinese,
> Japanese,
> Korean and probably others). The problem is that the IM is disabled as
> soon as
> the focus leaves the document frame. This means that if you're typing
> Chinese
> and you switch to bold font by clicking the button in the toolbar then
> unless
> you remember to move the mouse back to where you were typing then anything
> you
> enter will come out in roman letters rather than Chinese characters.
>
> The problem is that focusIMIn() and focusIMOut() are called when the mouse
> pointer enters and leaves the document frame as well as the abiword window
> as a
> whole. This means focusIMOut() is called twice when the focus leaves
> abiword and
> focusIMIn() twice when the focus comes back again. The patch removes the
> pair of
> calls for the document frame which means that CJK scripts can be input as
> long
> as abiword has the focus, as is the case for English.
>
> Is this likely to cause any problems?
>
> Best wishes,

HI Roland,
          Good catch! This patch looks fine and I'll commit it after a few
paranoia checks.

Martin

>
> R.
>
Received on Thu Mar 31 11:55:54 2005

This archive was generated by hypermail 2.1.8 : Thu Mar 31 2005 - 11:55:58 CEST