[Uim] uim-default hindering text input in mozilla

yusuke at cherubim.icw.co.jp yusuke at cherubim.icw.co.jp
Sun Dec 14 06:52:19 EET 2003


> Well, the truth of the matter is, this happens with ALL GTK2 input 
> modules, even those that do nothing. imhangul and im-ja will also eat 
> certain keys, even though they're not programmed to do so. I don't think 
> anyone knows how to fix this yet.
Does following patch for uim fix the problem? At least GTK2's default
module and xim module seems to handle your language, so it must be
module writer's mistake.

Index: uim-key.c
===================================================================
--- uim-key.c	(revision 257)
+++ uim-key.c	(revision 262)
@@ -95,6 +95,7 @@
 
   rv = keycode_to_sym(key, keybuf);
   if (rv == -1) {
+    uc->commit_raw_flag = 1;
     return;
   }
   snprintf(buf, 99, "(key-%s-handler %d %s %d)", p,


> > Could you tell us what key are you faied to type? I unfortunately
> > missed some keys, maybe because Japanese keyboard does not have
> > the key.. XD 
> 
> Sure... The keys I tried to type in were Æ, Ø, Å, æ, ø and å.
Thanks! These conversion seems to be done by Xlib which
I do not have checked yet.

> As for creating a real fix for the problem, I think this is probably a 
> GTK2 bug, so it's quite possible that you can't fix it without modifying 
> GTK2.
If so, we will investigate GTK2, make patch and send it to GTK2 maintainers.

> 
> One thing I don't understand, though, is why you created uim-default at 
> all. It's only an annoyance, since it pops up even when the user doesn't 
> want it, and doesn't do anything except block certain characters. Why 
> not just delete it?
One important reason not to remove uim-default is the poorness of
current input method selection facility in GTK2.
GTK2 maintainer Owen wrote good summary about this issue.
 See http://mail.gnome.org/archives/gtk-i18n-list/2003-October/msg00006.html

By the way, it is also acceptable to remove uim-default for a while,
if we can't fix the problem without touching GTK2.

--
 CHAOS AND CHANCE!
  Yusuke TABATA (yusuke at cherubim.icw.co.jp)




More information about the uim mailing list