The first messages in the sequence are generated right away by the SW_MINIMIZE request, but the last ones are only a result of the native driver implementation of the window minimization and may take some time to be received, or may not be received at all.
The test spuriously succeeds in the case where the driver messages are not received and only the optional messages at the end of the sequence are missing.
Signed-off-by: Rémi Bernon rbernon@codeweavers.com ---
Notes: The test actually passes on all the testbot runs I could start. It fails locally though -testing with fvwm in Xephyr- from time to time because the WM sometimes reacts fast enough.
I'm not sure if that's a specificity of the testbot WM configuration, it looks like minimizing windows there does not trigger anymore messages not matter how long we wait.
dlls/user32/tests/msg.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c index 477661ab623..d0de1c6d8bd 100644 --- a/dlls/user32/tests/msg.c +++ b/dlls/user32/tests/msg.c @@ -5101,6 +5101,7 @@ static void test_messages(void) LRESULT res; POINT pos; BOOL ret; + DWORD minimize_timeout;
flush_sequence();
@@ -5163,7 +5164,13 @@ static void test_messages(void)
ShowWindow(hwnd, SW_MINIMIZE); flush_events(); - ok_sequence(WmShowMinOverlappedSeq, "ShowWindow(SW_SHOWMINIMIZED):overlapped", TRUE); + + /* Minimizing may take some time to complete or may not be supported + * at all and this spuriously failed because everything after the 16th + * message of the sequence is optional. */ + minimize_timeout = GetTickCount() + 500; + while (sequence_cnt <= 16 && GetTickCount() < minimize_timeout) flush_events(); + ok_sequence(WmShowMinOverlappedSeq, "ShowWindow(SW_SHOWMINIMIZED):overlapped", sequence_cnt > 16); flush_sequence();
if (GetWindowLongW( hwnd, GWL_STYLE ) & WS_MINIMIZE)
Signed-off-by: Rémi Bernon rbernon@codeweavers.com --- dlls/user32/tests/msg.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c index d0de1c6d8bd..85cb70a1060 100644 --- a/dlls/user32/tests/msg.c +++ b/dlls/user32/tests/msg.c @@ -780,7 +780,7 @@ static const struct message WmCreateInvisibleMaxPopupSeq[] = { static const struct message WmShowMaxPopupResizedSeq[] = { { HCBT_MINMAX, hook|lparam, 0, SW_MAXIMIZE }, { WM_GETMINMAXINFO, sent }, - { WM_WINDOWPOSCHANGING, sent|wparam, SWP_SHOWWINDOW|SWP_FRAMECHANGED }, + { WM_WINDOWPOSCHANGING, sent|wparam, SWP_SHOWWINDOW|SWP_FRAMECHANGED, 0, SWP_STATECHANGED /* w1064v1809 */ }, { WM_NCCALCSIZE, sent|wparam, TRUE }, { EVENT_OBJECT_SHOW, winevent_hook|wparam|lparam, 0, 0 }, { HCBT_ACTIVATE, hook }, @@ -812,7 +812,7 @@ static const struct message WmShowMaxPopupResizedSeq[] = { static const struct message WmShowMaxPopupSeq[] = { { HCBT_MINMAX, hook|lparam, 0, SW_MAXIMIZE }, { WM_GETMINMAXINFO, sent }, - { WM_WINDOWPOSCHANGING, sent|wparam, SWP_SHOWWINDOW|SWP_FRAMECHANGED }, + { WM_WINDOWPOSCHANGING, sent|wparam, SWP_SHOWWINDOW|SWP_FRAMECHANGED, 0, SWP_STATECHANGED /* w1064v1809 */ }, { WM_NCCALCSIZE, sent|wparam, TRUE }, { EVENT_OBJECT_SHOW, winevent_hook|wparam|lparam, 0, 0 }, { HCBT_ACTIVATE, hook }, @@ -836,7 +836,7 @@ static const struct message WmShowMaxPopupSeq[] = { { WM_ERASEBKGND, sent|optional }, { WM_NCPAINT, sent|wparam|defwinproc|optional, 1 }, { WM_ERASEBKGND, sent|defwinproc|optional }, - { WM_WINDOWPOSCHANGED, sent|wparam, SWP_NOCLIENTSIZE|SWP_NOCLIENTMOVE|SWP_SHOWWINDOW|SWP_FRAMECHANGED|SWP_NOMOVE|SWP_NOSIZE }, + { WM_WINDOWPOSCHANGED, sent|wparam, SWP_NOCLIENTSIZE|SWP_NOCLIENTMOVE|SWP_SHOWWINDOW|SWP_FRAMECHANGED|SWP_NOMOVE|SWP_NOSIZE, 0, SWP_STATECHANGED /* w1064v1809 */ }, { EVENT_OBJECT_LOCATIONCHANGE, winevent_hook|wparam|lparam, 0, 0 }, { WM_SIZE, sent|defwinproc|optional }, { 0 } @@ -3476,7 +3476,7 @@ static const struct message WmMaximizeMDIchildInvisibleSeq[] = { static const struct message WmMaximizeMDIchildInvisibleSeq2[] = { { HCBT_MINMAX, hook|lparam, 0, SW_MAXIMIZE }, { WM_GETMINMAXINFO, sent }, - { WM_WINDOWPOSCHANGING, sent|wparam, SWP_SHOWWINDOW|SWP_FRAMECHANGED }, + { WM_WINDOWPOSCHANGING, sent|wparam, SWP_SHOWWINDOW|SWP_FRAMECHANGED, 0, SWP_STATECHANGED /* w1064v1809 */ }, { WM_GETMINMAXINFO, sent|defwinproc }, { WM_NCCALCSIZE, sent|wparam, 1 }, { EVENT_OBJECT_SHOW, winevent_hook|wparam|lparam, 0, 0 }, @@ -3495,7 +3495,7 @@ static const struct message WmMaximizeMDIchildInvisibleSeq2[] = { { EVENT_OBJECT_FOCUS, winevent_hook|wparam|lparam, OBJID_CLIENT, 0 }, { WM_SETFOCUS, sent|defwinproc|optional }, { WM_MDIACTIVATE, sent|defwinproc|optional }, - { WM_WINDOWPOSCHANGED, sent|wparam, SWP_SHOWWINDOW|SWP_FRAMECHANGED|SWP_NOSIZE|SWP_NOMOVE|SWP_NOCLIENTSIZE|SWP_NOCLIENTMOVE }, + { WM_WINDOWPOSCHANGED, sent|wparam, SWP_SHOWWINDOW|SWP_FRAMECHANGED|SWP_NOSIZE|SWP_NOMOVE|SWP_NOCLIENTSIZE|SWP_NOCLIENTMOVE, 0, SWP_STATECHANGED /* w1064v1809 */ }, { EVENT_OBJECT_LOCATIONCHANGE, winevent_hook|wparam|lparam, 0, 0 }, /* MDI child */ { WM_SIZE, sent|defwinproc|optional }, { 0 }
Hi,
While running your changed tests, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check?
Full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=59203
Your paranoid android.
=== wvistau64_fr (32 bit report) ===
user32: msg.c:16266: Test failed: 19: WaitForSingleObject failed msg.c:16266: Test failed: 20: WaitForSingleObject failed
=== w1064v1809_ar (32 bit report) ===
user32: msg.c:9221: Test failed: VK_N press/release: 3: in msg 0x0102 expecting wParam 0x6e got 0xec msg.c:9221: Test failed: VK_N press/release: 4: the msg 0x0111 was expected, but got msg 0x0102 instead msg.c:9230: Test failed: Shift+VK_N press/release: 6: in msg 0x0102 expecting wParam 0x4e got 0xc2 msg.c:9230: Test failed: Shift+VK_N press/release: 7: the msg 0x0111 was expected, but got msg 0x0102 instead msg.c:9248: Test failed: Alt+VK_N press/release: 6: in msg 0x0106 expecting wParam 0x6e got 0xec msg.c:9248: Test failed: Alt+VK_N press/release: 7: in msg 0x0106 expecting wParam 0x6e got 0xec msg.c:9248: Test failed: Alt+VK_N press/release: 8: in msg 0x0112 expecting lParam 0x6e got 0x649 msg.c:9248: Test failed: Alt+VK_N press/release: 16: in msg 0x0120 expecting wParam 0x2000006e got 0x200000ec msg.c:9272: Test failed: VK_N press/release: 3: in msg 0x0102 expecting wParam 0x6e got 0xec msg.c:9272: Test failed: VK_N press/release: 4: the msg 0x0111 was expected, but got msg 0x0102 instead msg.c:9281: Test failed: Shift+VK_N press/release: 6: in msg 0x0102 expecting wParam 0x4e got 0xc2 msg.c:9281: Test failed: Shift+VK_N press/release: 7: the msg 0x0111 was expected, but got msg 0x0102 instead msg.c:14228: Test failed: Failed to SetActiveWindow(0) msg.c:14229: Test failed: SetActiveWindow(0): 0: the msg sequence is not complete: expected 0086 - actual 0000 msg.c:15328: Test failed: popup menu command: 4: in msg 0x0106 expecting wParam 0x65 got 0xcb msg.c:15328: Test failed: popup menu command: 5: in msg 0x0008 expecting lParam 0x65 got 0x62b msg.c:15328: Test failed: popup menu command: 8: in msg 0x011f expecting wParam 0x900001 got 0xffff0000 msg.c:15328: Test failed: popup menu command: 9: the msg 0x0117 was expected, but got msg 0x0212 instead msg.c:15328: Test failed: popup menu command: 11: the msg 0x011f was expected, but got msg 0x0007 instead msg.c:15328: Test failed: popup menu command: 16: the msg 0x0125 was expected, but got msg 0x0105 instead msg.c:15328: Test failed: popup menu command: 17: the msg 0x011f was expected, but got msg 0x0007 instead msg.c:15328: Test failed: popup menu command: 18: the msg 0x0212 was expected, but got msg 0x0101 instead msg.c:15328: Test failed: popup menu command: 19: the msg 0x0126 was expected, but got msg 0x0007 instead msg.c:15328: Test failed: popup menu command: 21: the msg 0x0101 was expected, but got msg 0x0100 instead msg.c:15328: Test failed: popup menu command: 22: the msg sequence is not complete: expected 0000 - actual 0102 msg.c:15346: Test failed: submenu of a popup menu command: 4: in msg 0x0106 expecting wParam 0x66 got 0xc8 msg.c:15346: Test failed: submenu of a popup menu command: 5: in msg 0x0008 expecting lParam 0x66 got 0x628 msg.c:15346: Test failed: submenu of a popup menu command: 8: in msg 0x011f expecting wParam 0x900000 got 0xffff0000 msg.c:15346: Test failed: submenu of a popup menu command: 9: the msg 0x0117 was expected, but got msg 0x0212 instead msg.c:15346: Test failed: submenu of a popup menu command: 12: the msg 0x0003 was expected, but got msg 0x0007 instead msg.c:15346: Test failed: submenu of a popup menu command: 13: the msg 0x011f was expected, but got msg 0x0105 instead msg.c:15346: Test failed: submenu of a popup menu command: 14: in msg 0x0007 expecting wParam 0x46 got 0x12 msg.c:15346: Test failed: submenu of a popup menu command: 14: in msg 0x0007 expecting lParam 0xf0000001 got 0xc0000001 msg.c:15346: Test failed: submenu of a popup menu command: 22: the msg 0x0004 was expected, but got msg 0x0101 instead msg.c:15346: Test failed: submenu of a popup menu command: 23: the msg 0x0125 was expected, but got msg 0x0007 instead msg.c:15346: Test failed: submenu of a popup menu command: 25: the msg 0x0125 was expected, but got msg 0x0100 instead msg.c:15346: Test failed: submenu of a popup menu command: 26: the msg 0x011f was expected, but got msg 0x0007 instead msg.c:15346: Test failed: submenu of a popup menu command: 27: the msg 0x0212 was expected, but got msg 0x0101 instead msg.c:15346: Test failed: submenu of a popup menu command: 28: the msg 0x0126 was expected, but got msg 0x0007 instead msg.c:15346: Test failed: submenu of a popup menu command: 30: the msg 0x0101 was expected, but got msg 0x0100 instead msg.c:15346: Test failed: submenu of a popup menu command: 31: the msg sequence is not complete: expected 0000 - actual 0102 msg.c:15361: Test failed: single menu item command: 4: in msg 0x0106 expecting wParam 0x71 got 0xd6 msg.c:15361: Test failed: single menu item command: 5: in msg 0x0008 expecting lParam 0x71 got 0x636 msg.c:15361: Test failed: single menu item command: 8: in msg 0x011f expecting wParam 0x80012c got 0xffff0000 msg.c:15361: Test failed: single menu item command: 9: the msg 0x011f was expected, but got msg 0x0212 instead msg.c:15361: Test failed: single menu item command: 10: the msg 0x0212 was expected, but got msg 0x0007 instead msg.c:15361: Test failed: single menu item command: 11: the msg 0x0126 was expected, but got msg 0x0105 instead msg.c:15361: Test failed: single menu item command: 12: in msg 0x0007 expecting wParam 0x51 got 0x12 msg.c:15361: Test failed: single menu item command: 12: in msg 0x0007 expecting lParam 0xe0000001 got 0xc0000001 msg.c:15361: Test failed: single menu item command: 13: the msg 0x0105 was expected, but got msg 0x0101 instead msg.c:15361: Test failed: single menu item command: 14: in msg 0x0007 expecting wParam 0x12 got 0x1b msg.c:15361: Test failed: single menu item command: 14: in msg 0x0007 expecting lParam 0xc0000001 got 0x1 msg.c:15361: Test failed: single menu item command: 15: the msg 0x0101 was expected, but got msg 0x0100 instead msg.c:15361: Test failed: single menu item command: 17: the msg 0x0100 was expected, but got msg 0x0102 instead msg.c:15361: Test failed: single menu item command: 18: the msg 0x0102 was expected, but got msg 0x0007 instead msg.c:15394: Test failed: submenu of a popup menu command: 4: in msg 0x0106 expecting wParam 0x66 got 0xc8 msg.c:15394: Test failed: submenu of a popup menu command: 5: in msg 0x0008 expecting lParam 0x66 got 0x628 msg.c:15394: Test failed: submenu of a popup menu command: 8: in msg 0x011f expecting wParam 0x900000 got 0xffff0000 msg.c:15394: Test failed: submenu of a popup menu command: 9: the msg 0x0117 was expected, but got msg 0x0212 instead msg.c:15394: Test failed: submenu of a popup menu command: 12: the msg 0x0003 was expected, but got msg 0x0007 instead msg.c:15394: Test failed: submenu of a popup menu command: 13: the msg 0x011f was expected, but got msg 0x0105 instead msg.c:15394: Test failed: submenu of a popup menu command: 14: in msg 0x0007 expecting wParam 0x46 got 0x12 msg.c:15394: Test failed: submenu of a popup menu command: 14: in msg 0x0007 expecting lParam 0xf0000001 got 0xc0000001 msg.c:15394: Test failed: submenu of a popup menu command: 22: the msg 0x0004 was expected, but got msg 0x0101 instead msg.c:15394: Test failed: submenu of a popup menu command: 23: the msg 0x0125 was expected, but got msg 0x0007 instead msg.c:15394: Test failed: submenu of a popup menu command: 25: the msg 0x0125 was expected, but got msg 0x0100 instead msg.c:15394: Test failed: submenu of a popup menu command: 26: the msg 0x011f was expected, but got msg 0x0007 instead msg.c:15394: Test failed: submenu of a popup menu command: 27: the msg 0x0212 was expected, but got msg 0x0101 instead msg.c:15394: Test failed: submenu of a popup menu command: 28: the msg 0x0111 was expected, but got msg 0x0007 instead msg.c:15394: Test failed: submenu of a popup menu command: 30: the msg 0x0101 was expected, but got msg 0x0100 instead msg.c:15394: Test failed: submenu of a popup menu command: 31: the msg sequence is not complete: expected 0000 - actual 0102
Report errors: user32:msg prints too much data (45931 bytes)
=== w1064v1809_he (32 bit report) ===
user32: msg.c:12229: Test failed: wrong qstatus 00490040 msg.c:12239: Test failed: wrong qstatus 00010000
=== w1064v1809_ja (32 bit report) ===
user32: msg.c:14606: Test failed: unexpected hwnd 001A02DA msg.c:14611: Test failed: unexpected hwnd 001A02DA
=== w1064v1809_zh_CN (32 bit report) ===
user32: msg.c:14228: Test failed: Failed to SetActiveWindow(0) msg.c:14229: Test failed: SetActiveWindow(0): 0: the msg sequence is not complete: expected 0086 - actual 0000 msg.c:14386: Test failed: got message 31f msg.c:14606: Test failed: unexpected hwnd 001C038A msg.c:14607: Test failed: unexpected message 31f msg.c:14608: Test failed: bad wparam 1/81 msg.c:14611: Test failed: unexpected hwnd 001C038A msg.c:14612: Test failed: unexpected message 31f msg.c:14613: Test failed: bad wparam 1/81 msg.c:14618: Test failed: bad wparam 81/81 msg.c:14623: Test failed: bad wparam 81/81 msg.c:14625: Test failed: got message 102
=== debian10 (32 bit Japanese:Japan report) ===
user32: msg.c:8781: Test failed: WaitForSingleObject failed 102 msg.c:8787: Test failed: destroy child on thread exit: 0: the msg 0x0082 was expected, but got msg 0x000f instead msg.c:8787: Test failed: destroy child on thread exit: 1: the msg 0x000f was expected, but got msg 0x0014 instead msg.c:8787: Test failed: destroy child on thread exit: 2: the msg sequence is not complete: expected 0014 - actual 0000
Signed-off-by: Rémi Bernon rbernon@codeweavers.com --- dlls/user32/tests/msg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c index 85cb70a1060..f3854d65cab 100644 --- a/dlls/user32/tests/msg.c +++ b/dlls/user32/tests/msg.c @@ -14225,8 +14225,8 @@ static void test_SetActiveWindow(void)
trace("SetActiveWindow(0)\n"); ret = SetActiveWindow(0); - ok( ret == popup, "Failed to SetActiveWindow(0)\n"); - ok_sequence(SetActiveWindowSeq0, "SetActiveWindow(0)", FALSE); + ok( ret == popup || broken(ret == 0) /* w1064v1809 */, "Failed to SetActiveWindow(0), ret:%p\n", ret); + if (ret == popup) ok_sequence(SetActiveWindowSeq0, "SetActiveWindow(0)", FALSE); flush_sequence();
trace("SetActiveWindow(hwnd), hwnd visible\n");
Hi,
While running your changed tests, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check?
Full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=59204
Your paranoid android.
=== wvistau64 (32 bit report) ===
user32: msg.c:16266: Test failed: 0: WaitForSingleObject failed
=== w1064v1809 (32 bit report) ===
user32: msg.c:9402: Test failed: Shift+MouseButton press/release: 7: the msg 0x0202 was expected, but got msg 0x0007 instead msg.c:9402: Test failed: Shift+MouseButton press/release: 8: the msg 0x0202 was expected, but got msg 0x0101 instead msg.c:9402: Test failed: Shift+MouseButton press/release: 10: the msg 0x0101 should have been sent msg.c:9402: Test failed: Shift+MouseButton press/release: 11: the msg 0x0101 was expected, but got msg 0x0202 instead msg.c:9402: Test failed: Shift+MouseButton press/release: 12: the msg sequence is not complete: expected 0000 - actual 0202
=== w1064v1809_ar (32 bit report) ===
user32: msg.c:9221: Test failed: VK_N press/release: 3: in msg 0x0102 expecting wParam 0x6e got 0xec msg.c:9221: Test failed: VK_N press/release: 4: the msg 0x0111 was expected, but got msg 0x0102 instead msg.c:9230: Test failed: Shift+VK_N press/release: 6: in msg 0x0102 expecting wParam 0x4e got 0xc2 msg.c:9230: Test failed: Shift+VK_N press/release: 7: the msg 0x0111 was expected, but got msg 0x0102 instead msg.c:9248: Test failed: Alt+VK_N press/release: 6: in msg 0x0106 expecting wParam 0x6e got 0xec msg.c:9248: Test failed: Alt+VK_N press/release: 7: in msg 0x0106 expecting wParam 0x6e got 0xec msg.c:9248: Test failed: Alt+VK_N press/release: 8: in msg 0x0112 expecting lParam 0x6e got 0x649 msg.c:9248: Test failed: Alt+VK_N press/release: 16: in msg 0x0120 expecting wParam 0x2000006e got 0x200000ec msg.c:9272: Test failed: VK_N press/release: 3: in msg 0x0102 expecting wParam 0x6e got 0xec msg.c:9272: Test failed: VK_N press/release: 4: the msg 0x0111 was expected, but got msg 0x0102 instead msg.c:9281: Test failed: Shift+VK_N press/release: 6: in msg 0x0102 expecting wParam 0x4e got 0xc2 msg.c:9281: Test failed: Shift+VK_N press/release: 7: the msg 0x0111 was expected, but got msg 0x0102 instead msg.c:10275: Test failed: did not get expected count for minimum timeout (54 != ~100). msg.c:10345: Test failed: did not get expected count for minimum timeout (52 != ~100). msg.c:15328: Test failed: popup menu command: 4: in msg 0x0106 expecting wParam 0x65 got 0xcb msg.c:15328: Test failed: popup menu command: 5: in msg 0x0008 expecting lParam 0x65 got 0x62b msg.c:15328: Test failed: popup menu command: 8: in msg 0x011f expecting wParam 0x900001 got 0xffff0000 msg.c:15328: Test failed: popup menu command: 9: the msg 0x0117 was expected, but got msg 0x0212 instead msg.c:15328: Test failed: popup menu command: 11: the msg 0x011f was expected, but got msg 0x0007 instead msg.c:15328: Test failed: popup menu command: 16: the msg 0x0125 was expected, but got msg 0x0105 instead msg.c:15328: Test failed: popup menu command: 17: the msg 0x011f was expected, but got msg 0x0007 instead msg.c:15328: Test failed: popup menu command: 18: the msg 0x0212 was expected, but got msg 0x0101 instead msg.c:15328: Test failed: popup menu command: 19: the msg 0x0126 was expected, but got msg 0x0007 instead msg.c:15328: Test failed: popup menu command: 21: the msg 0x0101 was expected, but got msg 0x0100 instead msg.c:15328: Test failed: popup menu command: 22: the msg sequence is not complete: expected 0000 - actual 0102 msg.c:15346: Test failed: submenu of a popup menu command: 4: in msg 0x0106 expecting wParam 0x66 got 0xc8 msg.c:15346: Test failed: submenu of a popup menu command: 5: in msg 0x0008 expecting lParam 0x66 got 0x628 msg.c:15346: Test failed: submenu of a popup menu command: 8: in msg 0x011f expecting wParam 0x900000 got 0xffff0000 msg.c:15346: Test failed: submenu of a popup menu command: 9: the msg 0x0117 was expected, but got msg 0x0212 instead msg.c:15346: Test failed: submenu of a popup menu command: 12: the msg 0x0003 was expected, but got msg 0x0007 instead msg.c:15346: Test failed: submenu of a popup menu command: 13: the msg 0x011f was expected, but got msg 0x0105 instead msg.c:15346: Test failed: submenu of a popup menu command: 14: in msg 0x0007 expecting wParam 0x46 got 0x12 msg.c:15346: Test failed: submenu of a popup menu command: 14: in msg 0x0007 expecting lParam 0xf0000001 got 0xc0000001 msg.c:15346: Test failed: submenu of a popup menu command: 22: the msg 0x0004 was expected, but got msg 0x0101 instead msg.c:15346: Test failed: submenu of a popup menu command: 23: the msg 0x0125 was expected, but got msg 0x0007 instead msg.c:15346: Test failed: submenu of a popup menu command: 25: the msg 0x0125 was expected, but got msg 0x0100 instead msg.c:15346: Test failed: submenu of a popup menu command: 26: the msg 0x011f was expected, but got msg 0x0007 instead msg.c:15346: Test failed: submenu of a popup menu command: 27: the msg 0x0212 was expected, but got msg 0x0101 instead msg.c:15346: Test failed: submenu of a popup menu command: 28: the msg 0x0126 was expected, but got msg 0x0007 instead msg.c:15346: Test failed: submenu of a popup menu command: 30: the msg 0x0101 was expected, but got msg 0x0100 instead msg.c:15346: Test failed: submenu of a popup menu command: 31: the msg sequence is not complete: expected 0000 - actual 0102 msg.c:15361: Test failed: single menu item command: 4: in msg 0x0106 expecting wParam 0x71 got 0xd6 msg.c:15361: Test failed: single menu item command: 5: in msg 0x0008 expecting lParam 0x71 got 0x636 msg.c:15361: Test failed: single menu item command: 8: in msg 0x011f expecting wParam 0x80012c got 0xffff0000 msg.c:15361: Test failed: single menu item command: 9: the msg 0x011f was expected, but got msg 0x0212 instead msg.c:15361: Test failed: single menu item command: 10: the msg 0x0212 was expected, but got msg 0x0007 instead msg.c:15361: Test failed: single menu item command: 11: the msg 0x0126 was expected, but got msg 0x0105 instead msg.c:15361: Test failed: single menu item command: 12: in msg 0x0007 expecting wParam 0x51 got 0x12 msg.c:15361: Test failed: single menu item command: 12: in msg 0x0007 expecting lParam 0xe0000001 got 0xc0000001 msg.c:15361: Test failed: single menu item command: 13: the msg 0x0105 was expected, but got msg 0x0101 instead msg.c:15361: Test failed: single menu item command: 14: in msg 0x0007 expecting wParam 0x12 got 0x1b msg.c:15361: Test failed: single menu item command: 14: in msg 0x0007 expecting lParam 0xc0000001 got 0x1 msg.c:15361: Test failed: single menu item command: 15: the msg 0x0101 was expected, but got msg 0x0100 instead msg.c:15361: Test failed: single menu item command: 17: the msg 0x0100 was expected, but got msg 0x0102 instead msg.c:15361: Test failed: single menu item command: 18: the msg 0x0102 was expected, but got msg 0x0007 instead msg.c:15394: Test failed: submenu of a popup menu command: 4: in msg 0x0106 expecting wParam 0x66 got 0xc8 msg.c:15394: Test failed: submenu of a popup menu command: 5: in msg 0x0008 expecting lParam 0x66 got 0x628 msg.c:15394: Test failed: submenu of a popup menu command: 8: in msg 0x011f expecting wParam 0x900000 got 0xffff0000 msg.c:15394: Test failed: submenu of a popup menu command: 9: the msg 0x0117 was expected, but got msg 0x0212 instead msg.c:15394: Test failed: submenu of a popup menu command: 12: the msg 0x0003 was expected, but got msg 0x0007 instead msg.c:15394: Test failed: submenu of a popup menu command: 13: the msg 0x011f was expected, but got msg 0x0105 instead msg.c:15394: Test failed: submenu of a popup menu command: 14: in msg 0x0007 expecting wParam 0x46 got 0x12 msg.c:15394: Test failed: submenu of a popup menu command: 14: in msg 0x0007 expecting lParam 0xf0000001 got 0xc0000001 msg.c:15394: Test failed: submenu of a popup menu command: 22: the msg 0x0004 was expected, but got msg 0x0101 instead msg.c:15394: Test failed: submenu of a popup menu command: 23: the msg 0x0125 was expected, but got msg 0x0007 instead msg.c:15394: Test failed: submenu of a popup menu command: 25: the msg 0x0125 was expected, but got msg 0x0100 instead msg.c:15394: Test failed: submenu of a popup menu command: 26: the msg 0x011f was expected, but got msg 0x0007 instead msg.c:15394: Test failed: submenu of a popup menu command: 27: the msg 0x0212 was expected, but got msg 0x0101 instead msg.c:15394: Test failed: submenu of a popup menu command: 28: the msg 0x0111 was expected, but got msg 0x0007 instead msg.c:15394: Test failed: submenu of a popup menu command: 30: the msg 0x0101 was expected, but got msg 0x0100 instead msg.c:15394: Test failed: submenu of a popup menu command: 31: the msg sequence is not complete: expected 0000 - actual 0102
Report errors: user32:msg prints too much data (45849 bytes)
=== w1064v1809_ja (32 bit report) ===
user32: msg.c:12913: Test failed: WmMouseHoverSeq: 0: the msg sequence is not complete: expected 0118 - actual 0000 msg.c:14606: Test failed: unexpected hwnd 000D024E msg.c:14611: Test failed: unexpected hwnd 000D024E
=== w1064v1809_zh_CN (32 bit report) ===
user32: msg.c:14386: Test failed: got message 31f msg.c:14606: Test failed: unexpected hwnd 0015038C msg.c:14607: Test failed: unexpected message 31f msg.c:14608: Test failed: bad wparam 1/81 msg.c:14611: Test failed: unexpected hwnd 0015038C msg.c:14612: Test failed: unexpected message 31f msg.c:14613: Test failed: bad wparam 1/81 msg.c:14618: Test failed: bad wparam 81/81 msg.c:14623: Test failed: bad wparam 81/81 msg.c:14625: Test failed: got message 102
Signed-off-by: Rémi Bernon rbernon@codeweavers.com --- dlls/user32/tests/msg.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c index f3854d65cab..0db99385c75 100644 --- a/dlls/user32/tests/msg.c +++ b/dlls/user32/tests/msg.c @@ -9186,6 +9186,7 @@ static void test_accelerators(void) HACCEL hAccel; HWND hwnd = CreateWindowExA(0, "TestWindowClass", NULL, WS_OVERLAPPEDWINDOW | WS_VISIBLE, 100, 100, 200, 200, 0, 0, 0, NULL); + BOOL us_kbd = (GetKeyboardLayout(0) == (HKL)(ULONG_PTR)0x04090409); BOOL ret;
assert(hwnd != 0); @@ -9208,6 +9209,12 @@ static void test_accelerators(void) pump_msg_loop(hwnd, 0); flush_sequence();
+ if (!us_kbd) + { + skip("skipping ascii VK events on non-us keyboard\n"); + goto done; + } + trace("testing VK_N press/release\n"); flush_sequence(); keybd_event('N', 0, 0, 0); @@ -15254,6 +15261,7 @@ static void test_menu_messages(void) HMENU hmenu, hmenu_popup; HWND hwnd; DWORD style; + BOOL us_kbd = (GetKeyboardLayout(0) == (HKL)(ULONG_PTR)0x04090409);
if (!pGetMenuInfo || !pSetMenuInfo) { @@ -15300,6 +15308,12 @@ static void test_menu_messages(void) style = get_menu_style(hmenu_popup); ok(style == 0, "expected 0, got %u\n", style);
+ if (!us_kbd) + { + skip("skipping ascii VK events on non-us keyboard\n"); + goto done; + } + /* Alt+E, Enter */ trace("testing a popup menu command\n"); flush_sequence();
Hi,
While running your changed tests, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check?
Full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=59205
Your paranoid android.
=== wvistau64_fr (32 bit report) ===
user32: msg.c:16280: Test failed: 10: WaitForSingleObject failed
=== wvistau64_fr (task log) ===
Task errors: The previous 1 run(s) terminated abnormally
=== w8adm (32 bit report) ===
user32: msg.c:12920: Test failed: WmMouseHoverSeq: 5: the msg sequence is not complete: expected 0000 - actual 001a
=== w1064v1809 (32 bit report) ===
user32: msg.c:9409: Test failed: Shift+MouseButton press/release: 7: the msg 0x0202 was expected, but got msg 0x0007 instead msg.c:9409: Test failed: Shift+MouseButton press/release: 8: the msg 0x0202 was expected, but got msg 0x0101 instead msg.c:9409: Test failed: Shift+MouseButton press/release: 10: the msg 0x0101 should have been sent msg.c:9409: Test failed: Shift+MouseButton press/release: 11: the msg 0x0101 was expected, but got msg 0x0202 instead msg.c:9409: Test failed: Shift+MouseButton press/release: 12: the msg sequence is not complete: expected 0000 - actual 0202
=== w1064v1809_2scr (32 bit report) ===
user32: msg.c:8773: Test failed: MsgWaitForMultipleObjects failed 102
=== w1064v1809_ja (32 bit report) ===
user32: msg.c:14613: Test failed: unexpected hwnd 000E02DA msg.c:14618: Test failed: unexpected hwnd 000E02DA
=== w1064v1809_zh_CN (32 bit report) ===
user32: msg.c:14393: Test failed: got message 31f msg.c:14613: Test failed: unexpected hwnd 001D018C msg.c:14614: Test failed: unexpected message 31f msg.c:14615: Test failed: bad wparam 1/81 msg.c:14618: Test failed: unexpected hwnd 001D018C msg.c:14619: Test failed: unexpected message 31f msg.c:14620: Test failed: bad wparam 1/81 msg.c:14625: Test failed: bad wparam 81/81 msg.c:14630: Test failed: bad wparam 81/81 msg.c:14632: Test failed: got message 102
=== w1064v1809 (64 bit report) ===
user32: msg.c:9409: Test failed: Shift+MouseButton press/release: 7: the msg 0x0202 was expected, but got msg 0x0007 instead msg.c:9409: Test failed: Shift+MouseButton press/release: 8: the msg 0x0202 was expected, but got msg 0x0101 instead msg.c:9409: Test failed: Shift+MouseButton press/release: 10: the msg 0x0101 should have been sent msg.c:9409: Test failed: Shift+MouseButton press/release: 11: the msg 0x0101 was expected, but got msg 0x0202 instead msg.c:9409: Test failed: Shift+MouseButton press/release: 12: the msg sequence is not complete: expected 0000 - actual 0202 msg.c:10282: Test failed: did not get expected count for minimum timeout (53 != ~100). msg.c:10352: Test failed: did not get expected count for minimum timeout (54 != ~100).
Signed-off-by: Rémi Bernon rbernon@codeweavers.com --- dlls/user32/tests/msg.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c index 0db99385c75..3ff0df9c76c 100644 --- a/dlls/user32/tests/msg.c +++ b/dlls/user32/tests/msg.c @@ -9061,11 +9061,13 @@ static const struct message WmShiftMouseButton[] = { { WM_MOUSEMOVE, sent|wparam|optional, 0, 0 }, { WM_LBUTTONDOWN, wparam, MK_LBUTTON|MK_SHIFT, 0 }, { WM_LBUTTONDOWN, sent|wparam, MK_LBUTTON|MK_SHIFT, 0 }, - { WM_LBUTTONUP, wparam, MK_SHIFT, 0 }, - { WM_LBUTTONUP, sent|wparam, MK_SHIFT, 0 }, + { WM_LBUTTONUP, wparam|optional, MK_SHIFT, 0 }, /* < w1064v1809 */ + { WM_LBUTTONUP, sent|wparam|optional, MK_SHIFT, 0 }, /* < w1064v1809 */ { HCBT_KEYSKIPPED, hook|wparam|lparam|optional, VK_SHIFT, 0xc0000001 }, /* XP */ { WM_KEYUP, wparam|lparam, VK_SHIFT, 0xc0000001 }, { WM_KEYUP, sent|wparam|lparam, VK_SHIFT, 0xc0000001 }, + { WM_LBUTTONUP, wparam|optional, MK_SHIFT, 0 }, /* >= w1064v1809 */ + { WM_LBUTTONUP, sent|wparam|optional, MK_SHIFT, 0 }, /* >= w1064v1809 */ { 0 } }; static const struct message WmF1Seq[] = {
Hi,
While running your changed tests, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check?
Full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=59206
Your paranoid android.
=== wvistau64 (32 bit report) ===
user32: msg.c:16282: Test failed: 0: WaitForSingleObject failed
=== wvistau64_fr (32 bit report) ===
user32: msg.c:16282: Test failed: 10: WaitForSingleObject failed
=== w8adm (32 bit report) ===
user32: msg.c:12944: Test failed: WmMouseHoverSeq: 3: the msg 0x0118 was expected, but got msg 0x001a instead msg.c:12944: Test failed: WmMouseHoverSeq: 4: the msg 0x02a1 was expected, but got msg 0x001a instead msg.c:12944: Test failed: WmMouseHoverSeq: 5: the msg sequence is not complete: expected 0000 - actual 0118
=== w1064v1809 (32 bit report) ===
user32: msg.c:10284: Test failed: did not get expected count for minimum timeout (54 != ~100).
=== w1064v1809_2scr (32 bit report) ===
user32: msg.c:9411: Test failed: Shift+MouseButton press/release: 12: in msg 0x0202 expecting wParam 0x4 got 0x0 msg.c:9411: Test failed: Shift+MouseButton press/release: 13: in msg 0x0202 expecting wParam 0x4 got 0x0 msg.c:10284: Test failed: did not get expected count for minimum timeout (54 != ~100).
=== w1064v1809_ja (32 bit report) ===
user32: msg.c:14615: Test failed: unexpected hwnd 001902FE msg.c:14620: Test failed: unexpected hwnd 001902FE
=== w1064v1809_zh_CN (32 bit report) ===
user32: msg.c:14395: Test failed: got message 31f msg.c:14615: Test failed: unexpected hwnd 0027038A msg.c:14616: Test failed: unexpected message 31f msg.c:14617: Test failed: bad wparam 1/81 msg.c:14620: Test failed: unexpected hwnd 0027038A msg.c:14621: Test failed: unexpected message 31f msg.c:14622: Test failed: bad wparam 1/81 msg.c:14627: Test failed: bad wparam 81/81 msg.c:14632: Test failed: bad wparam 81/81 msg.c:14634: Test failed: got message 102
Signed-off-by: Rémi Bernon rbernon@codeweavers.com ---
Notes: See https://testbot.winehq.org/JobDetails.pl?Key=59199#k214
dlls/user32/tests/msg.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c index 3ff0df9c76c..0de6eea47a6 100644 --- a/dlls/user32/tests/msg.c +++ b/dlls/user32/tests/msg.c @@ -14382,6 +14382,7 @@ static void test_dbcs_wm_char(void) WS_OVERLAPPEDWINDOW, 100, 100, 200, 200, 0, 0, 0, NULL); ok (hwnd != 0, "Failed to create overlapped window\n"); ok (hwnd2 != 0, "Failed to create overlapped window\n"); + flush_events(); flush_sequence();
memset( wmCharSeq, 0, sizeof(wmCharSeq) );
Hi,
While running your changed tests, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check?
Full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=59207
Your paranoid android.
=== w8adm (32 bit report) ===
user32: msg.c:12936: Test failed: WmMouseHoverSeq: 5: the msg sequence is not complete: expected 0000 - actual 001a
=== w1064v1809_2scr (32 bit report) ===
user32: msg.c:9411: Test failed: Shift+MouseButton press/release: 12: in msg 0x0202 expecting wParam 0x4 got 0x0 msg.c:9411: Test failed: Shift+MouseButton press/release: 13: in msg 0x0202 expecting wParam 0x4 got 0x0
=== w1064v1809_ja (32 bit report) ===
user32: msg.c:8773: Test failed: MsgWaitForMultipleObjects failed 102
=== w1064v1809_zh_CN (32 bit report) ===
user32: msg.c:12370: Test failed: message time not advanced: 12d54 12d54 msg.c:12371: Test failed: coords not changed: (101 101) (101 101) msg.c:12388: Test failed: message time not advanced: 12d54 12d54 msg.c:12389: Test failed: coords not changed: (101 101) (101 101)
On 11/5/19 1:44 PM, Rémi Bernon wrote:
The first messages in the sequence are generated right away by the SW_MINIMIZE request, but the last ones are only a result of the native driver implementation of the window minimization and may take some time to be received, or may not be received at all.
The test spuriously succeeds in the case where the driver messages are not received and only the optional messages at the end of the sequence are missing.
Signed-off-by: Rémi Bernon rbernon@codeweavers.com
Notes: The test actually passes on all the testbot runs I could start. It fails locally though -testing with fvwm in Xephyr- from time to time because the WM sometimes reacts fast enough.
I'm not sure if that's a specificity of the testbot WM configuration, it looks like minimizing windows there does not trigger anymore messages not matter how long we wait.
dlls/user32/tests/msg.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)
I actually debugged this a while ago. The problem is that another window gets activated on focus loss, and the test actually accounts for this—it happens on Windows too—but we do so incorrectly, sending WM_CANCELMODE when we shouldn't. I sent a patch for it over a year ago, but it fell off the list:
https://www.winehq.org/pipermail/wine-devel/2018-January/121881.html
Unless you're talking about a different failure, in which case, please disregard.
diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c index 477661ab623..d0de1c6d8bd 100644 --- a/dlls/user32/tests/msg.c +++ b/dlls/user32/tests/msg.c @@ -5101,6 +5101,7 @@ static void test_messages(void) LRESULT res; POINT pos; BOOL ret;
DWORD minimize_timeout;
flush_sequence();
@@ -5163,7 +5164,13 @@ static void test_messages(void)
ShowWindow(hwnd, SW_MINIMIZE); flush_events();
- ok_sequence(WmShowMinOverlappedSeq, "ShowWindow(SW_SHOWMINIMIZED):overlapped", TRUE);
/* Minimizing may take some time to complete or may not be supported
* at all and this spuriously failed because everything after the 16th
* message of the sequence is optional. */
minimize_timeout = GetTickCount() + 500;
while (sequence_cnt <= 16 && GetTickCount() < minimize_timeout) flush_events();
ok_sequence(WmShowMinOverlappedSeq, "ShowWindow(SW_SHOWMINIMIZED):overlapped", sequence_cnt > 16); flush_sequence();
if (GetWindowLongW( hwnd, GWL_STYLE ) & WS_MINIMIZE)
Hi,
While running your changed tests, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check?
Full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=59202
Your paranoid android.
=== w2003std (32 bit report) ===
user32: msg.c:11074: Test failed: ScrollWindowEx: 0: the msg sequence is not complete: expected 000f - actual 0000 msg.c:11085: Test failed: ScrollWindowEx: 0: the msg sequence is not complete: expected 000f - actual 0000 msg.c:11099: Test failed: ScrollWindowEx: 0: the msg sequence is not complete: expected 000f - actual 0000 msg.c:11109: Test failed: ScrollWindow: 0: the msg sequence is not complete: expected 000f - actual 0000
=== wvistau64_fr (32 bit report) ===
user32: msg.c:16266: Test failed: 11: WaitForSingleObject failed msg.c:16266: Test failed: 12: WaitForSingleObject failed
Report errors: user32:msg has unaccounted for failure messages user32:msg has unaccounted for skip messages The report seems to have been truncated
=== wvistau64_fr (task log) ===
Task errors: An error occurred while waiting for the test to complete: network read timed out (wait2/connect:AgentVersion.h:0/9) The test VM has crashed, rebooted or lost connectivity (or the TestAgent server died) The previous 2 run(s) terminated abnormally
=== w8adm (32 bit report) ===
user32: msg.c:12935: Test failed: WmMouseHoverSeq: 3: the msg 0x0118 was expected, but got msg 0x001a instead msg.c:12935: Test failed: WmMouseHoverSeq: 4: the msg 0x02a1 was expected, but got msg 0x001a instead msg.c:12935: Test failed: WmMouseHoverSeq: 5: the msg sequence is not complete: expected 0000 - actual 0118
=== w1064v1809_2scr (32 bit report) ===
user32: msg.c:9402: Test failed: Shift+MouseButton press/release: 11: the msg 0x0101 was expected, but got msg 0x0202 instead msg.c:9402: Test failed: Shift+MouseButton press/release: 12: the msg sequence is not complete: expected 0000 - actual 0202 msg.c:10275: Test failed: did not get expected count for minimum timeout (54 != ~100).
=== w1064v1809_ar (32 bit report) ===
user32: msg.c:4738: Test failed: ShowWindow(SW_SHOWMAXIMIZED):invisible maximized and resized popup: 2: in msg 0x0046 expecting wParam 0x60 got 0x8060 msg.c:4761: Test failed: ShowWindow(SW_SHOWMAXIMIZED):invisible maximized popup: 2: in msg 0x0046 expecting wParam 0x60 got 0x8060 msg.c:4761: Test failed: ShowWindow(SW_SHOWMAXIMIZED):invisible maximized popup: 26: in msg 0x0047 expecting wParam 0x1863 got 0x9863 msg.c:4219: Test failed: ShowWindow(SW_MAXIMIZE):invisible maximized MDI child: 2: in msg 0x0046 expecting wParam 0x60 got 0x8060 msg.c:4219: Test failed: ShowWindow(SW_MAXIMIZE):invisible maximized MDI child: 20: in msg 0x0047 expecting wParam 0x1863 got 0x9863 msg.c:9221: Test failed: VK_N press/release: 3: in msg 0x0102 expecting wParam 0x6e got 0xec msg.c:9221: Test failed: VK_N press/release: 4: the msg 0x0111 was expected, but got msg 0x0102 instead msg.c:9230: Test failed: Shift+VK_N press/release: 6: in msg 0x0102 expecting wParam 0x4e got 0xc2 msg.c:9230: Test failed: Shift+VK_N press/release: 7: the msg 0x0111 was expected, but got msg 0x0102 instead msg.c:9248: Test failed: Alt+VK_N press/release: 6: in msg 0x0106 expecting wParam 0x6e got 0xec msg.c:9248: Test failed: Alt+VK_N press/release: 7: in msg 0x0106 expecting wParam 0x6e got 0xec msg.c:9248: Test failed: Alt+VK_N press/release: 8: in msg 0x0112 expecting lParam 0x6e got 0x649 msg.c:9248: Test failed: Alt+VK_N press/release: 16: in msg 0x0120 expecting wParam 0x2000006e got 0x200000ec msg.c:9272: Test failed: VK_N press/release: 3: in msg 0x0102 expecting wParam 0x6e got 0xec msg.c:9272: Test failed: VK_N press/release: 4: the msg 0x0111 was expected, but got msg 0x0102 instead msg.c:9281: Test failed: Shift+VK_N press/release: 6: in msg 0x0102 expecting wParam 0x4e got 0xc2 msg.c:9281: Test failed: Shift+VK_N press/release: 7: the msg 0x0111 was expected, but got msg 0x0102 instead msg.c:10345: Test failed: did not get expected count for minimum timeout (54 != ~100). msg.c:14228: Test failed: Failed to SetActiveWindow(0) msg.c:14229: Test failed: SetActiveWindow(0): 0: the msg sequence is not complete: expected 0086 - actual 0000 msg.c:17757: Test failed: Restore minimized window: 41: the msg sequence is not complete: expected 0000 - actual 0007 msg.c:15328: Test failed: popup menu command: 4: in msg 0x0106 expecting wParam 0x65 got 0xcb msg.c:15328: Test failed: popup menu command: 5: in msg 0x0008 expecting lParam 0x65 got 0x62b msg.c:15328: Test failed: popup menu command: 8: in msg 0x011f expecting wParam 0x900001 got 0xffff0000 msg.c:15328: Test failed: popup menu command: 9: the msg 0x0117 was expected, but got msg 0x0212 instead msg.c:15328: Test failed: popup menu command: 11: the msg 0x011f was expected, but got msg 0x0007 instead msg.c:15328: Test failed: popup menu command: 16: the msg 0x0125 was expected, but got msg 0x0105 instead msg.c:15328: Test failed: popup menu command: 17: the msg 0x011f was expected, but got msg 0x0007 instead msg.c:15328: Test failed: popup menu command: 18: the msg 0x0212 was expected, but got msg 0x0101 instead msg.c:15328: Test failed: popup menu command: 19: the msg 0x0126 was expected, but got msg 0x0007 instead msg.c:15328: Test failed: popup menu command: 21: the msg 0x0101 was expected, but got msg 0x0100 instead msg.c:15328: Test failed: popup menu command: 22: the msg sequence is not complete: expected 0000 - actual 0102 msg.c:15346: Test failed: submenu of a popup menu command: 4: in msg 0x0106 expecting wParam 0x66 got 0xc8 msg.c:15346: Test failed: submenu of a popup menu command: 5: in msg 0x0008 expecting lParam 0x66 got 0x628 msg.c:15346: Test failed: submenu of a popup menu command: 8: in msg 0x011f expecting wParam 0x900000 got 0xffff0000 msg.c:15346: Test failed: submenu of a popup menu command: 9: the msg 0x0117 was expected, but got msg 0x0212 instead msg.c:15346: Test failed: submenu of a popup menu command: 12: the msg 0x0003 was expected, but got msg 0x0007 instead msg.c:15346: Test failed: submenu of a popup menu command: 13: the msg 0x011f was expected, but got msg 0x0105 instead msg.c:15346: Test failed: submenu of a popup menu command: 14: in msg 0x0007 expecting wParam 0x46 got 0x12 msg.c:15346: Test failed: submenu of a popup menu command: 14: in msg 0x0007 expecting lParam 0xf0000001 got 0xc0000001 msg.c:15346: Test failed: submenu of a popup menu command: 22: the msg 0x0004 was expected, but got msg 0x0101 instead msg.c:15346: Test failed: submenu of a popup menu command: 23: the msg 0x0125 was expected, but got msg 0x0007 instead msg.c:15346: Test failed: submenu of a popup menu command: 25: the msg 0x0125 was expected, but got msg 0x0100 instead msg.c:15346: Test failed: submenu of a popup menu command: 26: the msg 0x011f was expected, but got msg 0x0007 instead msg.c:15346: Test failed: submenu of a popup menu command: 27: the msg 0x0212 was expected, but got msg 0x0101 instead msg.c:15346: Test failed: submenu of a popup menu command: 28: the msg 0x0126 was expected, but got msg 0x0007 instead msg.c:15346: Test failed: submenu of a popup menu command: 30: the msg 0x0101 was expected, but got msg 0x0100 instead msg.c:15346: Test failed: submenu of a popup menu command: 31: the msg sequence is not complete: expected 0000 - actual 0102 msg.c:15361: Test failed: single menu item command: 4: in msg 0x0106 expecting wParam 0x71 got 0xd6 msg.c:15361: Test failed: single menu item command: 5: in msg 0x0008 expecting lParam 0x71 got 0x636 msg.c:15361: Test failed: single menu item command: 8: in msg 0x011f expecting wParam 0x80012c got 0xffff0000 msg.c:15361: Test failed: single menu item command: 9: the msg 0x011f was expected, but got msg 0x0212 instead msg.c:15361: Test failed: single menu item command: 10: the msg 0x0212 was expected, but got msg 0x0007 instead msg.c:15361: Test failed: single menu item command: 11: the msg 0x0126 was expected, but got msg 0x0105 instead msg.c:15361: Test failed: single menu item command: 12: in msg 0x0007 expecting wParam 0x51 got 0x12 msg.c:15361: Test failed: single menu item command: 12: in msg 0x0007 expecting lParam 0xe0000001 got 0xc0000001 msg.c:15361: Test failed: single menu item command: 13: the msg 0x0105 was expected, but got msg 0x0101 instead msg.c:15361: Test failed: single menu item command: 14: in msg 0x0007 expecting wParam 0x12 got 0x1b msg.c:15361: Test failed: single menu item command: 14: in msg 0x0007 expecting lParam 0xc0000001 got 0x1 msg.c:15361: Test failed: single menu item command: 15: the msg 0x0101 was expected, but got msg 0x0100 instead msg.c:15361: Test failed: single menu item command: 17: the msg 0x0100 was expected, but got msg 0x0102 instead msg.c:15361: Test failed: single menu item command: 18: the msg 0x0102 was expected, but got msg 0x0007 instead msg.c:15394: Test failed: submenu of a popup menu command: 4: in msg 0x0106 expecting wParam 0x66 got 0xc8 msg.c:15394: Test failed: submenu of a popup menu command: 5: in msg 0x0008 expecting lParam 0x66 got 0x628 msg.c:15394: Test failed: submenu of a popup menu command: 8: in msg 0x011f expecting wParam 0x900000 got 0xffff0000 msg.c:15394: Test failed: submenu of a popup menu command: 9: the msg 0x0117 was expected, but got msg 0x0212 instead msg.c:15394: Test failed: submenu of a popup menu command: 12: the msg 0x0003 was expected, but got msg 0x0007 instead msg.c:15394: Test failed: submenu of a popup menu command: 13: the msg 0x011f was expected, but got msg 0x0105 instead msg.c:15394: Test failed: submenu of a popup menu command: 14: in msg 0x0007 expecting wParam 0x46 got 0x12 msg.c:15394: Test failed: submenu of a popup menu command: 14: in msg 0x0007 expecting lParam 0xf0000001 got 0xc0000001 msg.c:15394: Test failed: submenu of a popup menu command: 22: the msg 0x0004 was expected, but got msg 0x0101 instead msg.c:15394: Test failed: submenu of a popup menu command: 23: the msg 0x0125 was expected, but got msg 0x0007 instead msg.c:15394: Test failed: submenu of a popup menu command: 25: the msg 0x0125 was expected, but got msg 0x0100 instead msg.c:15394: Test failed: submenu of a popup menu command: 26: the msg 0x011f was expected, but got msg 0x0007 instead msg.c:15394: Test failed: submenu of a popup menu command: 27: the msg 0x0212 was expected, but got msg 0x0101 instead msg.c:15394: Test failed: submenu of a popup menu command: 28: the msg 0x0111 was expected, but got msg 0x0007 instead msg.c:15394: Test failed: submenu of a popup menu command: 30: the msg 0x0101 was expected, but got msg 0x0100 instead msg.c:15394: Test failed: submenu of a popup menu command: 31: the msg sequence is not complete: expected 0000 - actual 0102
Report errors: user32:msg prints too much data (63139 bytes)
=== w1064v1809_he (32 bit report) ===
user32: msg.c:10345: Test failed: did not get expected count for minimum timeout (51 != ~100).
=== w1064v1809_ja (32 bit report) ===
user32: msg.c:10345: Test failed: did not get expected count for minimum timeout (53 != ~100). msg.c:17757: Test failed: Restore minimized window: 41: the msg sequence is not complete: expected 0000 - actual 0086 msg.c:14606: Test failed: unexpected hwnd 001E0078 msg.c:14611: Test failed: unexpected hwnd 001E0078
Report errors: user32:msg prints too much data (35821 bytes)
=== w1064v1809_zh_CN (32 bit report) ===
user32: msg.c:4738: Test failed: ShowWindow(SW_SHOWMAXIMIZED):invisible maximized and resized popup: 2: in msg 0x0046 expecting wParam 0x60 got 0x8060 msg.c:4761: Test failed: ShowWindow(SW_SHOWMAXIMIZED):invisible maximized popup: 2: in msg 0x0046 expecting wParam 0x60 got 0x8060 msg.c:4761: Test failed: ShowWindow(SW_SHOWMAXIMIZED):invisible maximized popup: 26: in msg 0x0047 expecting wParam 0x1863 got 0x9863 msg.c:4219: Test failed: ShowWindow(SW_MAXIMIZE):invisible maximized MDI child: 2: in msg 0x0046 expecting wParam 0x60 got 0x8060 msg.c:4219: Test failed: ShowWindow(SW_MAXIMIZE):invisible maximized MDI child: 20: in msg 0x0047 expecting wParam 0x1863 got 0x9863 msg.c:10345: Test failed: did not get expected count for minimum timeout (50 != ~100). msg.c:14228: Test failed: Failed to SetActiveWindow(0) msg.c:14229: Test failed: SetActiveWindow(0): 0: the msg sequence is not complete: expected 0086 - actual 0000 msg.c:14386: Test failed: got message 31f msg.c:14606: Test failed: unexpected hwnd 000C02CC msg.c:14607: Test failed: unexpected message 31f msg.c:14608: Test failed: bad wparam 1/81 msg.c:14611: Test failed: unexpected hwnd 000C02CC msg.c:14612: Test failed: unexpected message 31f msg.c:14613: Test failed: bad wparam 1/81 msg.c:14618: Test failed: bad wparam 81/81 msg.c:14623: Test failed: bad wparam 81/81 msg.c:14625: Test failed: got message 102