https://bugs.winehq.org/show_bug.cgi?id=55451
Bug ID: 55451 Summary: Application gets WM_IME_COMPOSITION without getting WM_IME_STARTCOMPOSITION before Product: Wine Version: 8.13 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: hagb@hagb.name Distribution: ---
Created attachment 75009 --> https://bugs.winehq.org/attachment.cgi?id=75009 This program can reproduce the problem
On wine 8.8 there isn't such a problem. On wine >=8.9 <=8.13, when the user uses input method to input something, the program gets some WM_IME_SETCONTEXT (0x281) messages first, and then gets WM_IME_NOTIFY (0x282, with IMN_WINE_SET_COMP_STRING 0x10), and then gets WM_IME_COMPOSITION (0x10f). There isn't a WM_IME_STARTCOMPOSITION (0x10d) sent before WM_IME_COMPOSITION. And after WM_IME_COMPOSITION, there isn't WM_IME_ENDCOMPOSITION (0x10e) either.
https://bugs.winehq.org/show_bug.cgi?id=55451
--- Comment #1 from hagb@hagb.name --- Created attachment 75010 --> https://bugs.winehq.org/attachment.cgi?id=75010 Running on 8.8, it works well
Use the following commands to run:
i686-w64-mingw32-gcc example.cpp -lstdc++ -municode WINEDEBUG=xim,ime wine a.exe
https://bugs.winehq.org/show_bug.cgi?id=55451
--- Comment #2 from hagb@hagb.name --- Created attachment 75011 --> https://bugs.winehq.org/attachment.cgi?id=75011 The logs of running on 8.9, missing WM_IME_STARTCOMPOSITION
https://bugs.winehq.org/show_bug.cgi?id=55451
allfoxwy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |allfoxwy@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=55451
hagb@hagb.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |imm32