Backport: Roland Kay's patch to fix annoying XIM behaviour. (Roland)
CVS:
----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: Tag: ABI-2-2-0-STABLE
CVS: ./src/wp/ap/unix/ap_UnixFrameImpl.cpp
CVS:
----------------------------------------------------------------------
On Thu, 2005-03-31 at 02:13 +0100, Roland Kay wrote:
>
>
> 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,
>
> R.
>
Received on Thu Apr 14 20:07:28 2005
This archive was generated by hypermail 2.1.8 : Thu Apr 14 2005 - 20:07:28 CEST