https://bugs.winehq.org/show_bug.cgi?id=55027
--- Comment #8 from Masahito S. firelzrd@gmail.com --- Created attachment 74600 --> https://bugs.winehq.org/attachment.cgi?id=74600 patches applied in a zip archive
Thank you for your attention. So far no luck. With the attached patch set, it happens 100%. The below is a window message log, and it indicates the window messages are still ordered opposite.
$ WINEDEBUG=+timestamp,message wine ./EXCEL.EXE |& grep WM_IME 4122.265:0150:trace:message:spy_enter_message (0x3009c) L"Microsoft Excel" [0282] WM_IME_NOTIFY dispatched wp=00000010 lp=00000002 4122.265:0150:trace:message:spy_enter_message (0x3009c) DefWindowProc:[0282] WM_IME_NOTIFY wp=00000010 lp=00000002 4122.265:0150:trace:message:spy_enter_message (0xa0072) L"Default IME" [0282] WM_IME_NOTIFY sent from self wp=00000010 lp=00000002 4122.265:0150:trace:message:spy_enter_message (0x40062) L"{Wine IME}" [0282] WM_IME_NOTIFY sent from self wp=00000010 lp=00000002 4122.265:0150:trace:message:spy_enter_message (0x20054) L"{EXCEL6}" [010f] WM_IME_COMPOSITION sent from self wp=00003042 lp=00001800 4122.270:0150:trace:message:spy_exit_message (0x20054) L"{EXCEL6}" [010f] WM_IME_COMPOSITION returned 00000000 4122.270:0150:trace:message:spy_enter_message (0x20054) L"{EXCEL6}" [010f] WM_IME_COMPOSITION sent from self wp=00003042 lp=000001b8 4122.274:0150:trace:message:spy_exit_message (0x20054) L"{EXCEL6}" [010f] WM_IME_COMPOSITION returned 00000000 4122.274:0150:trace:message:spy_exit_message (0x40062) L"{Wine IME}" [0282] WM_IME_NOTIFY returned 00000002 4122.274:0150:trace:message:spy_exit_message (0xa0072) L"Default IME" [0282] WM_IME_NOTIFY returned 00000002 4122.274:0150:trace:message:spy_exit_message (0x3009c) DefWindowProc: [0282] WM_IME_NOTIFY returned 00000002 4122.274:0150:trace:message:spy_exit_message (0x3009c) L"Microsoft Excel" [0282] WM_IME_NOTIFY returned 00000002