Apache OpenOffice (AOO) Bugzilla – Issue 51356
ja IM: partial commit does not display remaining preedit part
Last modified: 2005-07-26 11:24:00 UTC
How to reproduce: 1. login with ja locale to Solaris10/JDS 2. launch Writer 3. type Ctrl-Space for IM on 4. enter 'aiueo' 5. press 'down arrow' key or 'Ctrl-n' to commit first part of pre-edit string 6. remaining part of preedit string disappears Disappeared string becomes visible when press Return to commit whole preedit string This is Solaris10/JDS problem. I do not see this on Linux/JDS. SAL_USE_VCLPLUGIN also prevents this problem.
reassign
can reproduce that here on athene
The problem comes from the underlying IME; - insert "lalelu" - move cursor in preedit to "ら" - shift cursor down for partial commit. We then get the follwing signals from gtk: preedit change: "" preedit change: " れる" commit: "ら" (i hope the respective kana above survive the transport via issuezilla) The second preedit change should come after the commit of course. I don't think there is anything the application can do to work around this. please note: move cursor left or right and an according preedit changed is emitted again and everything works again. How should we proceed in this matter ? And why does this work in gedit ?
The workaround which other clients are taking is commit_callback always check pre-edit string on IC after commit string handling, and if it can get pre-edit from IC, then draws it after commit string drawing. Actually this is the problem of iiim r10 which Solaris10 uses. Linux/JDS uses iiim r11, so that problematic callback sequence preedit->preedit->commit at partial commit does not occur. And above workaround has no side effect with iiim r11, so can be applied for both Solaris and Linux. I heard this from mozilla developer. Hope this help!
Thank you for that tip. I hope this will not break with some other IME :-)
fixed in CWS pl06. The fix is Solaris only (via #ifdef) since this is a workaround for a specific IME bug and the problem does not occur in the new version of the IME which is used on Linux. naoyuki: please have a look at the install sets for CWS pl06 at your convenience
please verify in CWS pl06 re-open issue and reassign to us@openoffice.org
reassign to us@openoffice.org
reset resolution to FIXED
verified in pl06.
Verified on MWS m121.