https://bugs.winehq.org/show_bug.cgi?id=53262
Bug ID: 53262 Summary: user32:msg - test_paint_messages() sometimes has 'FrameChanged' failure 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_paint_messages() sometimes has 'FrameChanged' failure on Windows 7:
msg.c:8900: testing SWP_FRAMECHANGED on parent with WS_CLIPCHILDREN msg.c:10136: WM_ERASEBKGND: GetClipBox()=1, (0,0)-(0,0) msg.c:8905: Test failed: SetWindowPos:FrameChanged_clip: 9: the msg 0x000f was expected in child msg.c:8905: Test failed: SetWindowPos:FrameChanged_clip: 10: the msg sequence is not complete: expected 0000 - actual 000f msg.c:8905: Failed sequence SetWindowPos:FrameChanged_clip: msg.c:8905: 0: expected: msg 0046 - actual: parent: 007502B8 WM_WINDOWPOSCHANGING wp 00000000 lp 0022fcb4 after 00000000 x 0 y 0 cx 0 cy 0 flags SWP_NOACTIVATE|SWP_FRAMECHANGED|SWP_NOZORDER|SWP_NOSIZE|SWP_NOMOVE (flags 1d) msg.c:8905: 1: expected: msg 0083 - actual: parent: 007502B8 WM_NCCALCSIZE: winpos->cx 200, winpos->cy 200 (flags 1d) msg.c:8905: 2: expected: msg 0085 - actual: parent: 007502B8 0085 wp 00000001 lp 00000000 (flags 1d) msg.c:8905: 3: expected: msg 000d - actual: parent: 007502B8 0014 wp 05010fba lp 00000000 (flags 1d) msg.c:8905: 4: expected: msg 0014 - actual: parent: 007502B8 0014 wp 05010fba lp 00000000 (flags 1d) msg.c:8905: 5: expected: msg 0085 - actual: MsgCheckProc: 006A0290 0085 wp 00000001 lp 00000000 (flags 19) msg.c:8905: 6: expected: msg 0014 - actual: MsgCheckProc: 006A0290 0014 wp 03010faa lp 00000000 (flags 19) msg.c:8905: 7: expected: msg 0047 - actual: parent: 007502B8 WM_WINDOWPOSCHANGED wp 00000000 lp 0022fcb4 after 00000000 x 100 y 100 cx 200 cy 200 flags SWP_NOACTIVATE|SWP_FRAMECHANGED|SWP_NOZORDER|SWP_NOSIZE|SWP_NOMOVE|SWP_NOCLIENTSIZE|SWP_NOCLIENTMOVE (flags 1d) msg.c:8905: 8: expected: winevent 800b - actual: WEH: winevent 007502B8 0000800b 00000000 00000000 msg.c:8905: 9: expected: msg 000f - actual: parent: 007502B8 000f wp 00000000 lp 00000000 (flags 1d) msg.c:8905: 10: expected: nothing - actual: MsgCheckProc: 006A0290 000f wp 00000000 lp 00000000 (flags 19) msg.c:8910: testing SWP_FRAMECHANGED|SWP_DEFERERASE on parent with WS_CLIPCHILDREN msg.c:8927: testing SWP_FRAMECHANGED on parent without WS_CLIPCHILDREN msg.c:10136: WM_ERASEBKGND: GetClipBox()=1, (0,0)-(0,0) msg.c:8932: Test failed: SetWindowPos:FrameChanged_noclip: 7: the msg 0x000f was expected in child msg.c:8932: Test failed: SetWindowPos:FrameChanged_noclip: 8: the msg 0x0085 was expected, but got msg 0x000f instead msg.c:8932: Test failed: SetWindowPos:FrameChanged_noclip: 10: the msg sequence is not complete: expected 0000 - actual 0085 msg.c:8932: Failed sequence SetWindowPos:FrameChanged_noclip: msg.c:8932: 0: expected: msg 0046 - actual: parent: 007502B8 WM_WINDOWPOSCHANGING wp 00000000 lp 0022fcb4 after 00000000 x 0 y 0 cx 0 cy 0 flags SWP_NOACTIVATE|SWP_FRAMECHANGED|SWP_NOZORDER|SWP_NOSIZE|SWP_NOMOVE (flags 1d) msg.c:8932: 1: expected: msg 0083 - actual: parent: 007502B8 WM_NCCALCSIZE: winpos->cx 200, winpos->cy 200 (flags 1d) msg.c:8932: 2: expected: msg 0085 - actual: parent: 007502B8 0085 wp 00000001 lp 00000000 (flags 1d) msg.c:8932: 3: expected: msg 000d - actual: parent: 007502B8 0014 wp ef010441 lp 00000000 (flags 1d) msg.c:8932: 4: expected: msg 0014 - actual: parent: 007502B8 0014 wp ef010441 lp 00000000 (flags 1d) msg.c:8932: 5: expected: msg 0047 - actual: parent: 007502B8 WM_WINDOWPOSCHANGED wp 00000000 lp 0022fcb4 after 00000000 x 100 y 100 cx 200 cy 200 flags SWP_NOACTIVATE|SWP_FRAMECHANGED|SWP_NOZORDER|SWP_NOSIZE|SWP_NOMOVE|SWP_NOCLIENTSIZE|SWP_NOCLIENTMOVE (flags 1d) msg.c:8932: 6: expected: winevent 800b - actual: WEH: winevent 007502B8 0000800b 00000000 00000000 msg.c:8932: 7: expected: msg 000f - actual: parent: 007502B8 000f wp 00000000 lp 00000000 (flags 1d) msg.c:8932: 8: expected: msg 0085 - actual: MsgCheckProc: 006A0290 000f wp 00000000 lp 00000000 (flags 19) msg.c:8932: 9: expected: msg 0014 - actual: MsgCheckProc: 006A0290 0085 wp 00000001 lp 00000000 (flags 59) msg.c:8932: 10: expected: nothing - actual: MsgCheckProc: 006A0290 0085 wp 00000001 lp 00000000 (flags 59)
https://test.winehq.org/data/patterns.html#user32:msg
Where: * 0x0046 == WM_WINDOWPOSCHANGING * 0x000f == WM_PAINT * 0x0085 == WM_NCPAINT
These failures seem to only happen on Windows 7 and are pretty rare (thus causing false positives).