https://bugs.winehq.org/show_bug.cgi?id=53432
Bug ID: 53432 Summary: user32:msg - test_restore_messages() sometimes fails on Windows 7 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 fails on Windows 7:
msg.c:18739: Test failed: Restore minimized window: 28: the msg 0x800b was expected, but got msg 0x0083 instead msg.c:18739: Failed sequence Restore minimized window: msg.c:18739: 0: expected: hook 0005 - actual: CBT: hook 5 (HCBT_ACTIVATE) wp 0043020e lp 0022fca4 msg.c:18739: 1: expected: winevent 0003 - actual: WEH: winevent 0043020E 00000003 00000000 00000000 msg.c:18739: 2: expected: msg 0046 - actual: MsgCheckProc: 0043020E WM_WINDOWPOSCHANGING wp 00000000 lp 0022fc90 after 009800AA x 0 y 0 cx 0 cy 0 flags SWP_NOSIZE|SWP_NOMOVE (flags 19) msg.c:18739: 3: expected: msg 0047 - actual: MsgCheckProc: 0043020E WM_WINDOWPOSCHANGED wp 00000000 lp 0022fc90 after 009800AA x -32000 y -32000 cx 160 cy 27 flags SWP_NOSIZE|SWP_NOMOVE|SWP_NOCLIENTSIZE|SWP_NOCLIENTMOVE (flags 19) msg.c:18739: 4: expected: msg 001c - actual: MsgCheckProc: 0043020E 001c wp 00000001 lp 000000e0 (flags 19) msg.c:18739: 5: expected: msg 0086 - actual: MsgCheckProc: 0043020E 0086 wp 00200001 lp 00000000 (flags 19) msg.c:18739: 6: expected: msg 000d - actual: MsgCheckProc: 001C0278 0006 wp 00200001 lp 00000000 (flags 19) msg.c:18739: 7: expected: msg 0006 - actual: MsgCheckProc: 001C0278 0006 wp 00200001 lp 00000000 (flags 19) msg.c:18739: 8: expected: hook 0007 - actual: MsgCheckProc: 001C0278 0112 wp 0000f120 lp 00000000 (flags 19) msg.c:18739: 9: expected: msg 0105 - actual: MsgCheckProc: 001C0278 0112 wp 0000f120 lp 00000000 (flags 19) msg.c:18739: 10: expected: msg 0112 - actual: MsgCheckProc: 001C0278 0112 wp 0000f120 lp 00000000 (flags 19) msg.c:18739: 11: expected: hook 0008 - actual: CBT: hook 8 (HCBT_SYSCOMMAND) wp 0000f120 lp 00000000 msg.c:18739: 12: expected: hook 0008 - actual: CBT: hook 1 (HCBT_MINMAX) wp 001c0278 lp 00000009 msg.c:18739: 13: expected: hook 0001 - actual: CBT: hook 1 (HCBT_MINMAX) wp 001c0278 lp 00000009 msg.c:18739: 14: expected: hook 0001 - actual: MsgCheckProc: 001C0278 0013 wp 00000000 lp 00000000 (flags 39) msg.c:18739: 15: expected: msg 0013 - actual: MsgCheckProc: 001C0278 0013 wp 00000000 lp 00000000 (flags 39) msg.c:18739: 16: expected: msg 0013 - actual: MsgCheckProc: 001C0278 000d wp 00000200 lp 0022ef64 (flags 39) msg.c:18739: 17: expected: msg 000d - actual: MsgCheckProc: 001C0278 000d wp 00000200 lp 0022ef64 (flags 39) msg.c:18739: 18: expected: msg 0046 - actual: MsgCheckProc: 001C0278 WM_WINDOWPOSCHANGING wp 00000000 lp 0022f794 after 008E00B6 x 100 y 100 cx 200 cy 200 flags SWP_FRAMECHANGED|SWP_NOCOPYBITS|0x8000 (flags 39) msg.c:18739: 19: expected: msg 0024 - actual: MsgCheckProc: 001C0278 0024 wp 00000000 lp 0022f250 (flags 39) msg.c:18739: 20: expected: msg 0083 - actual: MsgCheckProc: 001C0278 WM_NCCALCSIZE: winpos->cx 200, winpos->cy 200 (flags 39) msg.c:18739: 21: expected: winevent 8004 - actual: WEH: winevent 001C0278 00008004 00000000 00000000 msg.c:18739: 22: expected: msg 0085 - actual: MsgCheckProc: 001C0278 0085 wp 00000001 lp 00000000 (flags 39) msg.c:18739: 23: expected: msg 000d - actual: MsgCheckProc: 001C0278 0014 wp 1e010fb1 lp 00000000 (flags 39) msg.c:18739: 24: expected: msg 0014 - actual: MsgCheckProc: 001C0278 0014 wp 1e010fb1 lp 00000000 (flags 39) msg.c:18739: 25: expected: msg 0047 - actual: MsgCheckProc: 001C0278 WM_WINDOWPOSCHANGED wp 00000000 lp 0022f794 after 008E00B6 x 100 y 100 cx 200 cy 200 flags SWP_FRAMECHANGED|SWP_NOCOPYBITS|SWP_NOZORDER|0x8000 (flags 39) msg.c:18739: 26: expected: msg 0003 - actual: MsgCheckProc: 001C0278 0003 wp 00000000 lp 0082006c (flags 39) msg.c:18739: 27: expected: msg 0005 - actual: MsgCheckProc: 001C0278 0005 wp 00000000 lp 00a200b8 (flags 39) msg.c:18739: 28: expected: winevent 800b - actual: MsgCheckProc: 001C0278 WM_NCCALCSIZE: winpos->cx 200, winpos->cy 200 (flags 39) msg.c:18739: 29: expected: winevent 0017 - actual: MsgCheckProc: 001C0278 0085 wp 00000001 lp 00000000 (flags 39) msg.c:18739: 30: expected: msg 0083 - actual: MsgCheckProc: 001C0278 0014 wp 03010f92 lp 00000000 (flags 39) msg.c:18739: 31: expected: msg 0085 - actual: MsgCheckProc: 001C0278 0014 wp 03010f92 lp 00000000 (flags 39) ...
https://test.winehq.org/data/patterns.html#user32:msg
Where: 0x800b == EVENT_OBJECT_LOCATIONCHANGE 0x0083 == WM_NCCALCSIZE
It seems the WM_NCCALCSIZE was only expected in position 30 but arrived a bit early.
https://bugs.winehq.org/show_bug.cgi?id=53432
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source, testcase