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
https://bugs.winehq.org/show_bug.cgi?id=54655
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source, testcase
https://bugs.winehq.org/show_bug.cgi?id=54655
--- Comment #1 from Esme Povirk madewokherd@gmail.com --- Very strange, that implies the flags changed from ISMEX_SEND to ISMEX_NOTIFY|ISMEX_REPLIED in between the two calls. And that combination of flags doesn't make sense, since a notify message doesn't get a reply, as the test shows.
I think this behavior should be considered broken().
https://bugs.winehq.org/show_bug.cgi?id=54655
--- Comment #2 from Esme Povirk madewokherd@gmail.com --- MR posted: https://gitlab.winehq.org/wine/wine/-/merge_requests/3689
https://bugs.winehq.org/show_bug.cgi?id=54655
Esme Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |7dadc7d4c98207fb1daed65e9f1 | |42671794cddda Resolution|--- |FIXED
--- Comment #3 from Esme Povirk madewokherd@gmail.com --- This should be fixed now.
https://bugs.winehq.org/show_bug.cgi?id=54655
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.16.