Bug#374640: gedit: freeze when XIM is used to input Japanese

Ming Hua minghua at rice.edu
Tue Nov 28 03:30:39 UTC 2006


On Sat, Nov 25, 2006 at 02:05:57AM +0900, Osamu Aoki wrote:
[quotes reordered]
> 
>  BTS URL: http://bugs.debian.org/374640 

Oh my.  This bug report is becoming so convoluted with different issues.
We had better clone it and keep different discussions separated.

> Ming, what is your experience?

I've just done some limited testing.  I'll report what I have and what I
think, more tests will follow.

Currently my test is done in testing environment, with scim 1.4.4-5 and
gedit 2.14.4-2.

I can confirm the results of original reporter of 374640, i.e., strange
behavior of shift key.  Acoording to Loïc's analysis this should be a
gedit bug and already fixed.

> I thought I got freeze under SCIM(XIM) but now I an not sure.
> 
> At least SCIM using XIM as its input mechanism does not freeze gedit now
> (using standard libx11-6).  I am quite intrigued.

I can also get the input freeze in gedit with scim in XIM mode.
Although the freeze deosn't seem to be hard freeze and can be solved by
switching focus out of gedit and back again.  However, I don't think
this is the same bug as the one in gedit, the gedit bug merely triggered
a deeper bug in libX11.

As pointed out by Osamu, there is a Redhat bug [1] investigating this
"lockup-with-XIM-mode" issue, and there is also a reproducer testcase
attached in that report.  That report also points out a workground as
setting "/FrontEnd/X11/Dynamic = true" in ~/.scim/config (this should be
the default in Debian).

I reproduced the freeze with "/FrontEnd/X11/Dynamic = false", so the
freeze observed by Osamu and other Japanese people using UIM is probably
the same thing.  I'll test with "/FrontEnd/X11/Dynamic = true" again
later.

There is also a Ubuntu bug report [2] on a similar freeze issue in
gnome-terminal, and the reporter confirms that workaround works.  I've
also heard about this freeze happening in gaim.

However I don't quite understand the whole discussion in the Redhat bug
report, and there is no patch attached there.  So I don't know what (if
any) is really wrong about libX11.

1. https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=201284
2. https://bugs.launchpad.net/distros/ubuntu/+source/scim/+bug/66104

Ming
2006.11.27




More information about the pkg-gnome-maintainers mailing list