https://bugzilla.novell.com/show_bug.cgi?id=232014 Summary: When inputting Chinese in OpenOffice with Smart Pinyin input method (scim-pinyin), the inputted text will be inserted in wrong position. Product: openSUSE 10.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: OpenOffice.org AssignedTo: eward@novell.com ReportedBy: zsu@novell.com QAContact: qa@suse.de CC: mfabian@novell.com When inputting Chinese in any components of OpenOffice (oowriter, oocalc, ooimpress) with smart pinyin input method (scim-pinyin), in some situation, the inputted text will be inserted in wrong position. However it only happens when using GNOME interface and scim gtkimmodule. How to reproduce: 1. Launch oowriter: $ LANG=zh_CN.UTF-8 OOO_FORCE_DESKTOP=gnome GTK_IM_MODULE=scim oowriter 2. Activate scim by pressing ctrl+space and change input method to Smart Pinyin. 3. Input some characters, such as "大家好". 4. Move the cursor to the middle of 家 and 好,like: 大家|好 5. Input another character, such as 很. 6. The expected result should be "大家很好", but actually it becomes "大家好很". This issue occurs not only in oowriter, but also in oocalc and ooimpress. But it doesn't occur when using XIM, no matter with xim gtkimmodule or using KDE interface. After checking the source code of scim-pinyin I found that scim-pinyin clears the preedit string before committing the result string. The issue won't occur if the result string is committed before clearing the preedit string. I can patch scim-pinyin to commit result string before clearing preedit string to workaround this issue. However it should be a bug of OpenOffice and I don't know whether there are other input methods have similar behaviour like scim-pinyin or not. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.