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 137347 - wrong preedit string attribute
wrong preedit string attribute
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Input Methods
2.3.x
Other Linux
: Normal normal
: ---
Assigned To: Hidetoshi Tajima
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2004-03-16 12:36 UTC by Choe Hwanjin
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Choe Hwanjin 2004-03-16 12:36:54 UTC
When I input korean letters, preedit string is not highlighted currectly.

How to reproduce:

Run korean input method nabi (ami or iiimf hangul le)
Run gtk-demo and select "Dialog and Message Boxes"
Select the input method module to XIM
Press keys "shift-space",  "z[space]z[space]z[space]z[space]z" in the
GtkEntry widget.
Then, the preedit string appears too long.
The preedit string length is 1 char, but it appears wrong.
The chars in entry to the begin of the entry is reverse as if it is preedit
string.

I test it with imhangul, nabi, iiimf hangul le. All of this has the same
problem.
On GtkTextView, there is no such problem. Maybe this is a bug of GtkEntry.

I'm using gtk+ built from cvs source (2004-03-16)
Comment 1 Changwoo Ryu 2004-04-17 16:19:18 UTC
I believe it was fixed in CVS now.

2004-04-18  Changwoo Ryu  <cwryu@debian.org>

	* modules/hangul/hangul-defs.h (IS_JAMO): 
	* modules/hangul/hangul-fc.c (hangul_engine_shape, render_basic):
	handle non-Hangul unicode chars, fixes #129741,	#137347.
Comment 2 Changwoo Ryu 2004-04-17 16:20:12 UTC
See bug 129741 for more information.