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

Wen-Yen Chuang caleb at calno.com
Sun Nov 26 00:53:37 UTC 2006


Osamu Aoki wrote:
> ( I used modified im-switch configuration file in ~/.xinput.d/ )
export LC_CTYPE=en_US.UTF-8
export XMODIFIERS=@im=gcin
export GTK_IM_MODULE=xim
gcin &
gedit &

It works well in my Sid desktop. Gcin's postinst script does not create
en_US in /etc/X11/xinit/xinput.d. I think that is why im-switch failed
to boot gcin in en_US.UTF-8.

Gcin's XIM mode supports en_US.UTF-8, but not en_US.ISO-8859-1, so I did
not set it for im-switch. Gcin's XIM mode supports all zh_TW.* and all
zh_CN.*, so I set them for im-switch.

About Bug #374640, Loïc Minier has mentioned gedit's problem:
Gedit often passes some "key press event", which will grab by XIM
server. And sometimes XIM server also passes some key press event, which
will grab by gedit.

a user pressed a key -> XIM server get it -> XIM server passes the key
to gedit -> gedit get the key -> gedit passes the key to XIM server ->
and so on...

I know another XIM server(oxim, a fork of xcin) has this problem with gedit.

IMdkit of scim, xcin, and oxim are almost the same. Gcin uses a quite
different IMdkit. I guess that is why gcin is not involved in the gedit
bug. However, I am not a programer. That is just my guess.




More information about the pkg-gnome-maintainers mailing list