https://bugs.winehq.org/show_bug.cgi?id=53860
Bug ID: 53860 Summary: Wine Notepad : Using Japanese Input Method(IM), sometimes cursor goes back when string converted Product: Wine Version: 7.20 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: su_zu_me@hotmail.com Distribution: ---
Using input method (IM) to input Japanese characters, sometimes the cursor goes back when a string converted (kana to kanji).
- Confirming the previous conversion by entering the next character, the cursor will go back to the previous position each time. - Press [Enter] to confirming the conversion, the cursor may or may not go back. It occurs frequently (about a half of conversions). - It may not depend on the contents of conversion.
Conversions are done successfully.
It occurs with Wine 7.16 or later. Not occurs with Wine 7.15 or earlier.
Tested Wine version: 7.12 7.13 7.14 7.15 7.16 7.19 7.20
OS: Ubuntu 22.04.1 LTS (amd64) Display server: Wayland Input Method Framework: IBus Input Method Engine: Mozc
https://bugs.winehq.org/show_bug.cgi?id=53860
su_zu_me@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
https://bugs.winehq.org/show_bug.cgi?id=53860
--- Comment #1 from Jactry Zeng jactry92@gmail.com --- Hi,
Could you upload a video of the issue? I don't reproduce the issue with fcitx5-mozc.
https://bugs.winehq.org/show_bug.cgi?id=53860
--- Comment #2 from su_zu_me@hotmail.com --- Created attachment 73391 --> https://bugs.winehq.org/attachment.cgi?id=73391 Screen video on X11. No cursor nor home keys pressed.
Here attached a screen video. Audio contents is none. Format: H.264 (High Profile) + Vorbis
Wine version: 7.19 Window System: X11
I could not recorded it from Wayland, so captured from X11.
https://bugs.winehq.org/show_bug.cgi?id=53860
Jactry Zeng jactry92@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Regression SHA1| |a1aff0ec8c88ee8dabb7ea7c77c | |b35de91139cae
--- Comment #3 from Jactry Zeng jactry92@gmail.com --- Thanks for the video. I can confirm the issue with ibus-mozc, and likely it is a regression caused by this commit:
commit a1aff0ec8c88ee8dabb7ea7c77cb35de91139cae Author: Zhiyi Zhang zzhang@codeweavers.com Date: Fri Aug 12 11:32:54 2022 +0800
comctl32/edit: Handle IME composition result string only when EIMES_GETCOMPSTRATONCE is set.
If EIMES_GETCOMPSTRATONCE is not set, WM_IME_COMPOSITION with LPARAM set to GCS_RESULTSTR should be passed to the default window procedure according to MSDN.
Fix some windows based on edit control not being able to input Chinese.
It can't be reproduced with the same input all the time, but likely I can reproduce it with the following steps frequently: 1. $ export LC_ALL=ja_JP.UTF-8 LANG=ja_JP.UTF-8 LANGUAGE=ja_JP.UTF-8 2. $ wine notepad 3. Switch the input method to ibus-mozc kana: Type "amai" -> use TAB to select "甘い" -> press ENTER to input "甘い" to notepad -> type "sushi" -> press ENTER to input "すし" to notepad
https://bugs.winehq.org/show_bug.cgi?id=53860
Sagawa sagawa.aki+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sagawa.aki+winebugs@gmail.c | |om
https://bugs.winehq.org/show_bug.cgi?id=53860
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zzhang@codeweavers.com
https://bugs.winehq.org/show_bug.cgi?id=53860
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|wine-bugs@winehq.org |zzhang@codeweavers.com
https://bugs.winehq.org/show_bug.cgi?id=53860
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|zzhang@codeweavers.com |wine-bugs@winehq.org
https://bugs.winehq.org/show_bug.cgi?id=53860
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |851c57d47506640f00399933d74 | |11b62891157f3 Status|NEW |RESOLVED
--- Comment #4 from Zhiyi Zhang zzhang@codeweavers.com --- Fixed by 851c57d47506640f00399933d7411b62891157f3
https://bugs.winehq.org/show_bug.cgi?id=53860
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.9.