To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=49311
------- Additional comments from [EMAIL PROTECTED] Thu Jun 2 02:28:15 -0700
2005 -------
Thanks pl to fix the preedit handling.
I've tested gtkframe.cxx (revision 1.30.12.2) and confirmed cursor never jumped.
I think you missed one spot-location handling fix. It is needed to update when
GtkSalFrame::signalIMPreeditChanged() is called as I mentioned previously.
With Japanese input method, we usually use rather large preedit area while
inputting "Kana" from keyboard, then convert these string into mixture of
"Kana", "Kanji" and also alphabet. In this conversion state, input method
divides preedit string into several phrases (segments) and shows candidate words
corresponding to each phrases. If the converted string is fine, we commit the
preedit area. But usually input method shows wrong candidate words, so we need
to select segment by cursor and then choose correct word from candidate window
nearby the selected segment.
So it is needed to update spot-location while "preedit-changed" in order to
place a window of candidate words at suitable position corresponding to the
segment.
Here is the fix for this.
--- gtkframe.cxx-1.30.12.2 Thu Jun 2 17:33:02 2005
+++ gtkframe.cxx Thu Jun 2 17:48:23 2005
@@ -2524,6 +2524,8 @@
if( bEndPreedit && ! aDel.isDeleted() )
pThis->CallCallback( SALEVENT_ENDEXTTEXTINPUT, NULL );
+ if (! aDel.isDeleted() )
+ pThis->updateIMSpotLocation();
}
void GtkSalFrame::signalIMPreeditStart( GtkIMContext* pContext, gpointer frame
)
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]