GNOME Bugzilla – Bug 339367
Incorrect spotlocation
Last modified: 2008-09-28 03:21:54 UTC
Please describe the problem: Inputting multilanguage characters such as Japanese on GTK applications, GTK notifies incorrect spotlocation. Therfore, The candidate list displays over inputting characters. Actually, unless it enables spotlocation notification of on-the-spot style on X11, this problem doesn't happen. Steps to reproduce: 1. Enable spotlocation notification of on-the-spot style on X11. Patch the spotlocation patch, see http://sourceforge.jp/projects/kimera/files/ 2. Input multilanguage characters. 3. Convert it and show the candidate list. Actual results: Expected results: Does this happen every time? Yes Other information: Patch to modify the y-point of spotlocation: --- gtk+-2.8.15/modules/input/gtkimcontextxim.c.orig 2005-07-01 03:42:44.000000000 +0900 +++ gtk+-2.8.15/modules/input/gtkimcontextxim.c 2006-04-01 07:50:38.000000000 +0900 @@ -830,7 +830,7 @@ return; spot.x = area->x; - spot.y = area->y; + spot.y = area->y + area->height; preedit_attr = XVaCreateNestedList (0, XNSpotLocation, &spot, ----- Please confirm this patch. I checked it, see the captured image. http://kimera.sourceforge.jp/
*** Bug 150052 has been marked as a duplicate of this bug. ***
Created attachment 100106 [details] [review] Patch for modules/input/gtkimcontextxim.c I think the submitter's patch is right. Can we integrate the patch? I also found the similar problem 158678.
Can we integrate the patch? cc'ing the maintainer.
2008-09-27 Matthias Clasen <mclasen@redhat.com> Bug 339367 – Incorrect spotlocation * modules/input/gtkimcontextxim.c: Correct the spot location for on-the-spot style.