https://bugs.winehq.org/show_bug.cgi?id=54655
Bug ID: 54655 Summary: user32:msg - test_InSendMessage() sometimes gets unexpected flags on Windows Product: Wine Version: unspecified Hardware: x86-64 OS: Windows Status: NEW Severity: normal Priority: P2 Component: user32 Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
user32:msg - test_InSendMessage() sometimes gets unexpected flags on Windows:
msg.c:11738: Tests skipped: cannot set global hook msg.c:19232: Failed sequence SendMessage from other thread 1: msg.c:19232: 0: expected: msg 0402 - actual: MsgCheckProc: 00000000008B03E8 0402 wp 00000000 lp 00000000 (flags 19) msg.c:19232: 1: expected: msg 0400 - actual: MsgCheckProc: 00000000008B03E8 0400 wp 00000000 lp 00000000 (flags 19) msg.c:19252: Failed sequence SendMessage from other thread 3: msg.c:19252: 0: expected: msg 0403 - actual: MsgCheckProc: 00000000008B03E8 0403 wp 00000000 lp 00000000 (flags 19) msg.c:19252: 1: expected: msg 0401 - actual: MsgCheckProc: 00000000008B03E8 0401 wp 00000000 lp 00000000 (flags 19) msg.c:19264: Failed sequence SendMessage from other thread 5: msg.c:19292: Test failed: wrong flags a msg.c:18660: Failed sequence SetFocus on a desktop window:
See https://test.winehq.org/data/patterns.html#user32:msg
Where 0xa == ISMEX_NOTIFY | ISMEX_REPLIED and the test expected 0x9 == ISMEX_SEND | ISMEX_REPLIED
This happens about once per month and impacts at least Windows 7 & 10, regardless of locale: * 2022-08-31 on w7u-pt-PT 32-bit * 2022-08-31 on w7u 32-bit * 2022-09-06 on w7u 32-bit * 2022-09-15 on w7u-pt-PT 32-bit * 2022-12-12 on w1064 32-bit * 2023-02-20 on w10pro64-ar 64-bit * 2023-03-02 on w7u-de 32-bit