https://bugs.winehq.org/show_bug.cgi?id=51395
Bug ID: 51395 Summary: user32:win gets an unexpected 0x7fff message in the Korean locale Product: Wine Version: 6.10 Hardware: x86-64 OS: Windows Status: NEW Severity: normal Priority: P2 Component: user32 Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
user32:win gets an unexpected 0x7fff message in the Korean locale, thus triggering the following failures:
https://test.winehq.org/data/patterns.html#user32:win
win.c:4005: Test failed: hwnd 0000000001AD0418 message 7fff win.c:4011: Test failed: message 7fff available win.c:4040: Test failed: hwnd 0000000000250424/00000000008F01E0 message 0287 win.c:4045: Test failed: hwnd 0000000000250424/00000000008F01E0 message 0287 win.c:4050: Test failed: hwnd 00000000008F01E0/00000000008F01E0 message 0201 win.c:4059: Test failed: message 0203 available win.c:4071: Test failed: hwnd 0000000000250424/0000000000520450 message 0287 win.c:4075: Test failed: hwnd 0000000000250424/0000000000520450 message 0287 win.c:4084: Test failed: hwnd 0000000001AD0418/00000000008F01E0 message 7fff win.c:4087: Test failed: hwnd 0000000001AD0418/00000000008F01E0 message 7fff win.c:4120: Test failed: hwnd 0000000000250424/00000000002303F6 message 0287 win.c:4122: Test failed: wparam 32 win.c:4126: Test failed: hwnd 0000000000250424/00000000002303F6 message 0287 win.c:4133: Test failed: hwnd 00000000002303F6/00000000002303F6 message 0201 win.c:4150: Test failed: message 0203 available
I could not find any documentation about 0x7fff. However changing the keyboard layout from Korean to Qwerty fixes the issue. So it is likely related to the Korean IME module.
Unfortunately adding 0x7fff to ignore_message() causes user32:win to get stuck.