Bug#231143: gedit: Cannot select different kanji with kinput2

Ambrose Li Ambrose Li <ambrose.li@cccgt.org>, 231143@bugs.debian.org
Fri, 23 Jul 2004 20:32:28 -0400


Hi,

On Wed, Jul 21, 2004 at 06:37:18PM +0200, Sebastien Bacher wrote:
> > When I try to select a kanji by pressing Ctrl+W, gedit tries to
> > close the window instead. The Ctrl+W is not passed to kinput2.
> 
> Some comments on the upstream bug report:
> http://bugzilla.gnome.org/show_bug.cgi?id=143824
> 
> "------ Additional Comment #1 From Paolo Maggi 2004-06-07 13:13 -------  
> Are you sure "Ctrl+W" is the right keybinding for selecting a kanji?

Yes.

Ctrl+W is the usual keybinding for Wnn (and seems to be the default
keybinding for Wnn on Debian).

Space also works (but in a different way), but I was used to Ctrl+W and
I did not previously use space. So when I reported the bug I did not even
think about space because I never used it.

> ------- Additional Comment #2 From Paolo Maggi 2004-07-13 14:16
> -------  
> Could you please give me step-by-step instructions on how to reproduce this problem?

1. Run kinput2 in Wnn mode:
   kinput2 -wnn -jserver localhost &

   (jserver need to be already running on localhost)

   (NOTE: kinput2 must be running in Wnn mode. Canna mode uses a completely different
   set of keybindings.)

2. Set the locale to Japanese:
   export LANG=ja_JP.eucJP
   export XMODIFIERS=@im=kinput2

3. Make sure everything is ok; we can test with, say, rxvt or mlterm:
   rxvt&
   
   (Press Shift+Space, type some romaji to get some kana, then press Ctrl+W once
   or twice to get the kanji selection window)

4. Try the same with gedit. Ctrl+w doesn't work.

> ------- Additional Comment #3 From Paolo Maggi 2004-07-20 05:56
> -------  
> Are you able to reproduce this bug using the Text Widget demos of gtk-demo?"

I don't know which Debian package has gtk-demo, so I am not able to test it
with gtk-demo.

However, I tried a couple of other gtk apps (gaim and mozilla-firefox) and
Ctrl+W also do not work in those apps.

Ctrl+W seems to work in KDE apps (I tried kate).

So it seems that this is a general GTK problem, not a gedit problem.

> 
> 
> Could you give some reply (here or upstream) please ?
> 
> 
> Cheers,
> 
> Sebastien Bacher
>