After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 158678 - XIM over-the-spot patch
XIM over-the-spot patch
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Input Methods
2.2.x
Other Linux
: Normal normal
: Small fix
Assigned To: Hidetoshi Tajima
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2004-11-19 06:05 UTC by Edward Liu
Modified: 2008-09-28 03:22 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10


Attachments
The OverTheSpot patch for libgtk2.0-0 (2.54 KB, patch)
2005-02-16 10:30 UTC, Tetralet
needs-work Details | Review

Description Edward Liu 2004-11-19 06:05:27 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
Comment 1 Tetralet 2005-02-16 10:30:28 UTC
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.
Comment 2 Tetralet 2005-04-20 01:32:35 UTC
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.
Comment 3 Matthias Clasen 2005-04-29 16:01:35 UTC
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 ?
Comment 4 Matthias Clasen 2008-09-28 03:22:46 UTC
I've committed a different patch (see bug 339367)