GNOME Bugzilla – Bug 158678
XIM over-the-spot patch
Last modified: 2008-09-28 03:22:46 UTC
The patch is not very clean, but it is usable. XIM's on-the-spot is not conevenient for input methods that needs a menu window to select characters (Chinese). Since on-the-spot doesn't report the position of cursor, the selection menu is usually placed below the AP window; it is not convenient for users. http://www.csie.nctu.edu.tw/~cp76/linux/gtk-xim/gtkimcontextxim.c.bz2
Created attachment 37539 [details] [review] The OverTheSpot patch for libgtk2.0-0 It is the OverTheSpot patch for libgtk2.0-0. This patch is the same as the patch sent by Edward Liu, But it only contains diff information, not the whole source code. After some testing, we feel that this patch is stable enough to update to the upstream. Please consider to apply this. Thanks.
Hi, There are several gif animations showing the defferents between OnTheSpot and OverTheSpot mode. We must key in *several* "codes" to get *one* Chinese character when typing Chinese characters. When using OnTheSpot mode, The "code" will take about 4~5 Chinese character wide, and it will make the whole line move (shake) too much when typing. Please visit the screenshot bellow for more details: http://home.pchome.com.tw/net/tetralet/Linux/OnTheSpotNotGood.gif And http://home.pchome.com.tw/net/tetralet/Linux/OnTheSpotNotGood2.gif Unlike OnTheSpot mode, We feel that the OverTheSpot mode is more pleasing to use. Please visit the screenshot bellow for more details:: http://home.pchome.com.tw/net/tetralet/Linux/OverTheSpotIsBetter.gif So that We feel this patch is very important to us. Please consider to apply this. Thanks.
I don't feel qualified to judge this patch, knowing next to nothing about XIM. But from looking at the patch, why is there an #if 0-ed block ? And why does it change the gtk_im_context_xim_set_cursor_location() for the other modes ?
I've committed a different patch (see bug 339367)