https://bugs.winehq.org/show_bug.cgi?id=55463
Bug ID: 55463 Summary: user32:msg - test_SetFocus() sometimes gets an unexpected WM_WINDOWPOSCHANGED 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_SetFocus() sometimes gets an unexpected WM_WINDOWPOSCHANGED on Windows:
msg.c:18822: Test failed: SetFocus on a child window: 5: the msg 0x001c was expected, but got msg 0x0047 instead msg.c:18822: Failed sequence SetFocus on a child window: msg.c:18822: 0: expected: hook 0009 - actual: CBT: hook 9 (HCBT_SETFOCUS) wp 008f00e0 lp 00000000 msg.c:18822: 1: expected: hook 0005 - actual: CBT: hook 5 (HCBT_ACTIVATE) wp 008d00c4 lp 0034f5f8 msg.c:18822: 2: expected: winevent 0003 - actual: WEH: winevent 00000000008D00C4 00000003 00000000 00000000 msg.c:18822: 3: expected: msg 030f - actual: parent: 00000000008D00C4 WM_WINDOWPOSCHANGING wp 00000000 lp 0034f5e0 after 0000000000C600FA x 0 y 0 cx 0 cy 0 flags SWP_NOSIZE|SWP_NOMOVE (flags 1d) msg.c:18822: 4: expected: msg 0046 - actual: parent: 00000000008D00C4 WM_WINDOWPOSCHANGING wp 00000000 lp 0034f5e0 after 0000000000C600FA x 0 y 0 cx 0 cy 0 flags SWP_NOSIZE|SWP_NOMOVE (flags 1d) msg.c:18822: 5: expected: msg 001c - actual: parent: 00000000008D00C4 WM_WINDOWPOSCHANGED wp 00000000 lp 0034f5e0 after 0000000000C600FA x 0 y 0 cx 132 cy 38 flags SWP_NOREDRAW|SWP_NOSIZE|SWP_NOMOVE|SWP_NOCLIENTSIZE|SWP_NOCLIENTMOVE (flags 1d) msg.c:18822: 6: expected: msg 0086 - actual: parent: 00000000008D00C4 000d wp 00000208 lp 0034e6f0 (flags 1d) msg.c:18822: 7: expected: msg 000d - actual: parent: 00000000008D00C4 WM_NCCALCSIZE: winpos->cx 132, winpos->cy 38 (flags 1d) msg.c:18822: 8: expected: msg 000d - actual: parent: 00000000008D00C4 WM_NCCALCSIZE: winpos->cx 132, winpos->cy 38 (flags 1d) msg.c:18822: 9: expected: msg 0006 - actual: parent: 00000000008D00C4 WM_NCCALCSIZE: winpos->cx 132, winpos->cy 38 (flags 1d) msg.c:18822: 10: expected: hook 0009 - actual: WEH: winevent 00000000008D00C4 0000800b 00000000 00000000 msg.c:18822: 11: expected: winevent 8005 - actual: parent: 00000000008D00C4 001c wp 00000001 lp 00000220 (flags 1d) msg.c:18822: 12: expected: msg 0007 - actual: parent: 00000000008D00C4 0086 wp 00000001 lp 00000000 (flags 1d) msg.c:18822: 13: expected: msg 0008 - actual: parent: 00000000008D00C4 000d wp 00000208 lp 0034e330 (flags 3d) msg.c:18822: 14: expected: winevent 8005 - actual: parent: 00000000008D00C4 000d wp 00000208 lp 0034e380 (flags 3d) msg.c:18822: 15: expected: msg 0007 - actual: parent: 00000000008D00C4 0006 wp 00000001 lp 00000000 (flags 1d) msg.c:18822: 16: expected: nothing - actual: CBT: hook 9 (HCBT_SETFOCUS) wp 008d00c4 lp 00000000 msg.c:18822: 17: expected: nothing - actual: WEH: winevent 00000000008D00C4 00008005 fffffffffffffffc 00000000 msg.c:18822: 18: expected: nothing - actual: parent: 00000000008D00C4 0007 wp 00000000 lp 00000000 (flags 3d) msg.c:18822: 19: expected: nothing - actual: parent: 00000000008D00C4 0008 wp 008f00e0 lp 00000000 (flags 1d) msg.c:18822: 20: expected: nothing - actual: WEH: winevent 00000000008F00E0 00008005 fffffffffffffffc 00000000 msg.c:18822: 21: expected: nothing - actual: MsgCheckProc: 00000000008F00E0 0007 wp 008d00c4 lp 00000000 (flags 19)
See https://test.winehq.org/data/patterns.html#user32:msg
Where 0x001c == WM_ACTIVATEAPP 0x0047 == WM_WINDOWPOSCHANGED
The first known instance happened on 2023-06-12 and this has happened about once every other week since: * 2023-06-12 win7_newtb-w7u-pt-PT * 2023-06-14 win21H1_newtb-w10pro64-zh-CN-64 * 2023-07-06 win7_newtb-w7pro64-64 * 2023-07-13 win7_newtb-w7pro64-64_1 * 2023-08-10 win7_newtb-w7pro64-64
https://bugs.winehq.org/show_bug.cgi?id=55463
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd@gmail.com Keywords| |source, testcase