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

Osamu Aoki osamu at debian.org
Sun Nov 19 12:55:39 CET 2006


On Sun, Nov 19, 2006 at 10:50:57AM +0100, Loïc Minier wrote:
>         Hi,
> 
> On Sun, Nov 19, 2006, Osamu Aoki wrote:
> > Original bug report: http://bugs.debian.org/374640
> > This freeze problem happens with not only SCIM package as originally
> > reported but also when using UIM package to input Japanese.  
> 
>  The reporter said this was working with SCIM but not working with XIM
>  using SCIM (IIUC).

SCIM input method can communicate via several path with application.
SCIM used with immodule (GTK_IM_MODULE=scim) works.  SCIM communicating
through XIM mechanism (GTK_IM_MODULE=xim, XMODIFIERS=@im=SCIM) does not
work.

> > Kenshi Muto(a Japanese DD) reported to me over Japanese mail that this
> > happens with UIM and I confirmed it.  Under UIM, this problem does not
> > happen with other Gnome applications, firefox, gnome-terminal, OOo,
> > GNOME search tool, too.
> 
>  Is this with UIM under XIM as well?  Or with GTK_IM_MODULE=uim?

This is UIM via XIM.  THis is not Qt issue.

>  I think all the applications you mention were using a GtkEntry, I've
>  attached a Python script creating a GtkTextView, could you try
>  reproducing the freeze with the script?

Just to be sure.  gedit is the only broken program.  Everything else works
fine.  Does gedit use GtkEntry too?

> > Current work around is to use uim or scim as immodule right after gedit
> > opens by switching input method using right click text imput area.
> 
>  This sounds like it breaks when GTK_IM_MODULE=xim and you use SCIM as
>  XIM as well.

Yes.

> #!/usr/bin/python
> 
> import pygtk
> 
> pygtk.require("2.0")
> import gtk
> textview = gtk.TextView()
> window = gtk.Window(gtk.WINDOW_TOPLEVEL)
> window.add(textview)
> window.resize(400, 600)
> window.show_all()
> gtk.main()

under GTK_IM_MODULE=xim, XMODIFIERS=@im=uim, above program works fine just
like any other aplications while gedit still freezes.

Osamu





More information about the Pkg-gnome-maintainers mailing list