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.