https://bugs.winehq.org/show_bug.cgi?id=54408
Bug ID: 54408 Summary: user32:msg - test_restore_messages() sometimes gets unexpected WM_ACTIVATEAPP message on Windows 11 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_restore_messages() sometimes gets unexpected WM_ACTIVATEAPP message on Windows 11:
msg.c:19449: Test failed: Restore minimized window: 2: the msg 0x0046 was expected, but got msg 0x001c instead msg.c:19449: Failed sequence Restore minimized window: msg.c:19449: 0: expected: hook 0005 - actual: CBT: hook 5 (HCBT_ACTIVATE) wp 01e0028c lp 0085fa08 msg.c:19449: 1: expected: winevent 0003 - actual: WEH: winevent 0000000001E0028C 00000003 00000000 00000000 msg.c:19449: 2: expected: msg 0046 - actual: MsgCheckProc: 0000000001E0028C 001c wp 00000001 lp 00000000 (flags 19) msg.c:19449: 3: expected: msg 0047 - actual: MsgCheckProc: 0000000001E0028C 0086 wp 00200000 lp 00000000 (flags 19) msg.c:19449: 4: expected: msg 001c - actual: MsgCheckProc: 0000000001E0028C 0006 wp 00200001 lp 00000000 (flags 19) msg.c:19449: 5: expected: msg 0086 - actual: MsgCheckProc: 0000000001E0028C 0112 wp 0000f120 lp 00000000 (flags 19) msg.c:19449: 6: expected: msg 000d - actual: CBT: hook 8 (HCBT_SYSCOMMAND) wp 0000f120 lp 00000000
See https://test.winehq.org/data/patterns.html#user32:msg
Where: 0x001c == WM_ACTIVATEAPP 0x0046 == WM_WINDOWPOSCHANGING
It looks like the WM_ACTIVATEAPP is already expected but just arrives earlier than expected. Adjust the sequence to allow either options?
https://bugs.winehq.org/show_bug.cgi?id=54408
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source, testcase