The listview bug is caused by passing the incorrect index to the LISTVIEW_SortItems callers custom compare function. If we pass the copied array indices, which are different because of the sorting, the caller is going to use those indices for their unsorted array which don't match.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56140
-- v6: comctl32: Fix sorting for listview. comctl32/tests: Add test for listview sorting order.
From: Jacob Czekalla jczekalla@codeweavers.com
--- dlls/comctl32/tests/listview.c | 74 ++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+)
diff --git a/dlls/comctl32/tests/listview.c b/dlls/comctl32/tests/listview.c index 1081a045cde..df892753b54 100644 --- a/dlls/comctl32/tests/listview.c +++ b/dlls/comctl32/tests/listview.c @@ -3028,6 +3028,79 @@ static void test_subitem_rect(void) DestroyWindow(hwnd); }
+static INT WINAPI test_CallBackCompareEx(LPARAM first, LPARAM second, LPARAM lParam) +{ + HWND list_view = (HWND)lParam; + CHAR buffer1[256], buffer2[256]; + int itm1, itm2; + + ListView_GetItemTextA(list_view, first, 0, buffer1, sizeof(buffer1)); + ListView_GetItemTextA(list_view, second, 0, buffer2, sizeof(buffer2)); + + itm1 = atoi(buffer1); + itm2 = atoi(buffer2); + + return (itm1 - itm2); +} + +static void test_custom_sort(void) +{ + int prev_value; + int sorted; + LVITEMA lvi = {0}; + LV_COLUMNA lvc = {0}; + RECT rcClient; + CHAR buffer[256]; + CHAR col_names[][2] = { "1", "2" }; + HWND list_view = create_listview_control(LVS_REPORT); + + lvc.mask = LVCF_TEXT | LVCF_WIDTH | LVCF_SUBITEM; + lvc.pszText = col_names[0]; + lvc.iSubItem = 0; + SendMessageA(list_view, LVM_INSERTCOLUMNA, 0, (LPARAM) &lvc); + + lvc.pszText = col_names[1]; + lvc.iSubItem = 1; + SendMessageA(list_view, LVM_INSERTCOLUMNA, 1, (LPARAM) &lvc); + + srand(1234); + + for (int i = 0; i < 100; i++) + { + lvi.mask = LVIF_TEXT; + lvi.iItem = i; + lvi.iSubItem = 0; + lvi.pszText = buffer; + sprintf(buffer, "%d", rand() % 100); + SendMessageA(list_view, LVM_INSERTITEMA, 0, (LPARAM) &lvi); + + lvi.iSubItem = 1; + sprintf(buffer, "%d", rand() % 100); + SendMessageA(list_view, LVM_SETITEMTEXTA, i, (LPARAM) &lvi); + } + + SendMessageA(list_view, LVM_SORTITEMSEX, (WPARAM) list_view, (LPARAM) test_CallBackCompareEx); + + for (int i = 1; i < 100; i++) + { + ListView_GetItemTextA(list_view, i - 1, 0, buffer, sizeof(buffer)); + prev_value = atoi(buffer); + + ListView_GetItemTextA(list_view, i, 0, buffer, sizeof(buffer)); + + if (atoi(buffer) < prev_value) + { + sorted = 0; + break; + } + sorted = 1; + } + + todo_wine ok(sorted, "ListView not sorted correctly.\n"); + + DestroyWindow(list_view); +} + /* comparison callback for test_sorting */ static INT WINAPI test_CallBackCompare(LPARAM first, LPARAM second, LPARAM lParam) { @@ -7227,6 +7300,7 @@ START_TEST(listview) test_LVM_GETCOUNTPERPAGE(); test_item_state_change(); test_LVM_SETBKIMAGE(FALSE); + test_custom_sort();
if (!load_v6_module(&ctx_cookie, &hCtx)) {
From: Jacob Czekalla jczekalla@codeweavers.com
--- dlls/comctl32/listview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c index c82473b6205..0302e3e19a0 100644 --- a/dlls/comctl32/listview.c +++ b/dlls/comctl32/listview.c @@ -9396,7 +9396,7 @@ static BOOL LISTVIEW_SortItems(LISTVIEW_INFO *infoPtr, PFNLVCOMPARE pfnCompare, if (infoPtr->nFocusedItem >= 0) focusedItem = DPA_GetPtr(infoPtr->hdpaItems, infoPtr->nFocusedItem);
- context.items = hdpaItems; + context.items = infoPtr->hdpaItems; context.compare_func = pfnCompare; context.lParam = lParamSort; if (IsEx)
Hi,
It looks like your patch introduced the new failures shown below. Please investigate and fix them before resubmitting your patch. If they are not new, fixing them anyway would help a lot. Otherwise please ask for the known failures list to be updated.
The tests also ran into some preexisting test failures. If you know how to fix them that would be helpful. See the TestBot job for the details:
The full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=147462
Your paranoid android.
=== debian11 (32 bit report) ===
comctl32: listview.c:3099: Test succeeded inside todo block: ListView not sorted correctly.
=== debian11 (32 bit ar:MA report) ===
comctl32: listview.c:3099: Test succeeded inside todo block: ListView not sorted correctly.
=== debian11 (32 bit de report) ===
comctl32: listview.c:3099: Test succeeded inside todo block: ListView not sorted correctly.
=== debian11 (32 bit fr report) ===
comctl32: listview.c:3099: Test succeeded inside todo block: ListView not sorted correctly.
=== debian11 (32 bit he:IL report) ===
comctl32: listview.c:3099: Test succeeded inside todo block: ListView not sorted correctly.
=== debian11 (32 bit hi:IN report) ===
comctl32: listview.c:3099: Test succeeded inside todo block: ListView not sorted correctly.
=== debian11 (32 bit ja:JP report) ===
comctl32: listview.c:3099: Test succeeded inside todo block: ListView not sorted correctly.
=== debian11 (32 bit zh:CN report) ===
comctl32: listview.c:3099: Test succeeded inside todo block: ListView not sorted correctly.
=== debian11b (32 bit WoW report) ===
comctl32: listview.c:3099: Test succeeded inside todo block: ListView not sorted correctly.
=== debian11b (64 bit WoW report) ===
comctl32: listview.c:3099: Test succeeded inside todo block: ListView not sorted correctly.
user32: input.c:733: Test failed: peek: lmenu_vkey_peeked: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_SYSKEYDOWN, wparam 0x12, lparam 0x20010001 input.c:734: Test failed: peek: lmenu_vkey_peeked: 0: got VK_MENU: 0 input.c:734: Test failed: peek: lmenu_vkey_peeked: 0: got VK_LMENU: 0 input.c:733: Test failed: peek: lmenu_vkey_peeked: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_SYSKEYDOWN, wparam 0x46, lparam 0x20020001 input.c:733: Test failed: peek: lmenu_vkey_peeked: 1: test->expect 2 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_SYSCHAR, wparam 0x66, lparam 0x20020001 input.c:734: Test failed: peek: lmenu_vkey_peeked: 1: got VK_MENU: 0 input.c:734: Test failed: peek: lmenu_vkey_peeked: 1: got F: 0 input.c:734: Test failed: peek: lmenu_vkey_peeked: 1: got VK_LMENU: 0 input.c:733: Test failed: peek: lmenu_vkey_peeked: 2: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_SYSKEYUP, wparam 0x46, lparam 0xffffffffe0030001 input.c:734: Test failed: peek: lmenu_vkey_peeked: 2: got VK_MENU: 0 input.c:734: Test failed: peek: lmenu_vkey_peeked: 2: got VK_LMENU: 0 input.c:733: Test failed: peek: lmenu_vkey_peeked: 3: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x12, lparam 0xffffffffc0040001 input.c:733: Test failed: peek: lcontrol_vkey: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x11, lparam 0x10001 input.c:734: Test failed: peek: lcontrol_vkey: 0: got VK_CONTROL: 0 input.c:734: Test failed: peek: lcontrol_vkey: 0: got VK_LCONTROL: 0 input.c:733: Test failed: peek: lcontrol_vkey: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x46, lparam 0x20001 input.c:733: Test failed: peek: lcontrol_vkey: 1: test->expect 2 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_CHAR, wparam 0x6, lparam 0x20001 input.c:734: Test failed: peek: lcontrol_vkey: 1: got VK_CONTROL: 0 input.c:734: Test failed: peek: lcontrol_vkey: 1: got F: 0 input.c:734: Test failed: peek: lcontrol_vkey: 1: got VK_LCONTROL: 0 input.c:733: Test failed: peek: lcontrol_vkey: 2: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x46, lparam 0xffffffffc0030001 input.c:734: Test failed: peek: lcontrol_vkey: 2: got VK_CONTROL: 0 input.c:734: Test failed: peek: lcontrol_vkey: 2: got VK_LCONTROL: 0 input.c:733: Test failed: peek: lcontrol_vkey: 3: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x11, lparam 0xffffffffc0040001 input.c:733: Test failed: peek: lmenu_lcontrol_vkey: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_SYSKEYDOWN, wparam 0x12, lparam 0x20010001 input.c:734: Test failed: peek: lmenu_lcontrol_vkey: 0: got VK_MENU: 0 input.c:734: Test failed: peek: lmenu_lcontrol_vkey: 0: got VK_LMENU: 0 input.c:733: Test failed: peek: lmenu_lcontrol_vkey: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x11, lparam 0x20020001 input.c:734: Test failed: peek: lmenu_lcontrol_vkey: 1: got VK_CONTROL: 0 input.c:734: Test failed: peek: lmenu_lcontrol_vkey: 1: got VK_MENU: 0 input.c:734: Test failed: peek: lmenu_lcontrol_vkey: 1: got VK_LCONTROL: 0 input.c:734: Test failed: peek: lmenu_lcontrol_vkey: 1: got VK_LMENU: 0 input.c:733: Test failed: peek: lmenu_lcontrol_vkey: 2: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x46, lparam 0x20030001 input.c:734: Test failed: peek: lmenu_lcontrol_vkey: 2: got VK_CONTROL: 0 input.c:734: Test failed: peek: lmenu_lcontrol_vkey: 2: got VK_MENU: 0 input.c:734: Test failed: peek: lmenu_lcontrol_vkey: 2: got F: 0 input.c:734: Test failed: peek: lmenu_lcontrol_vkey: 2: got VK_LCONTROL: 0 input.c:734: Test failed: peek: lmenu_lcontrol_vkey: 2: got VK_LMENU: 0 input.c:733: Test failed: peek: lmenu_lcontrol_vkey: 3: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x46, lparam 0xffffffffe0040001 input.c:734: Test failed: peek: lmenu_lcontrol_vkey: 3: got VK_CONTROL: 0 input.c:734: Test failed: peek: lmenu_lcontrol_vkey: 3: got VK_MENU: 0 input.c:734: Test failed: peek: lmenu_lcontrol_vkey: 3: got VK_LCONTROL: 0 input.c:734: Test failed: peek: lmenu_lcontrol_vkey: 3: got VK_LMENU: 0 input.c:733: Test failed: peek: lmenu_lcontrol_vkey: 4: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_SYSKEYUP, wparam 0x11, lparam 0xffffffffe0050001 input.c:734: Test failed: peek: lmenu_lcontrol_vkey: 4: got VK_MENU: 0 input.c:734: Test failed: peek: lmenu_lcontrol_vkey: 4: got VK_LMENU: 0 input.c:733: Test failed: peek: lmenu_lcontrol_vkey: 5: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x12, lparam 0xffffffffc0060001 input.c:733: Test failed: peek: shift_vkey: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x10, lparam 0x10001 input.c:734: Test failed: peek: shift_vkey: 0: got VK_SHIFT: 0 input.c:734: Test failed: peek: shift_vkey: 0: got VK_LSHIFT: 0 input.c:733: Test failed: peek: shift_vkey: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x46, lparam 0x20001 input.c:733: Test failed: peek: shift_vkey: 1: test->expect 2 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_CHAR, wparam 0x46, lparam 0x20001 input.c:734: Test failed: peek: shift_vkey: 1: got VK_SHIFT: 0 input.c:734: Test failed: peek: shift_vkey: 1: got F: 0 input.c:734: Test failed: peek: shift_vkey: 1: got VK_LSHIFT: 0 input.c:733: Test failed: peek: shift_vkey: 2: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x46, lparam 0xffffffffc0030001 input.c:734: Test failed: peek: shift_vkey: 2: got VK_SHIFT: 0 input.c:734: Test failed: peek: shift_vkey: 2: got VK_LSHIFT: 0 input.c:733: Test failed: peek: shift_vkey: 3: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x10, lparam 0xffffffffc0040001 input.c:733: Test failed: peek: rshift: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x10, lparam 0x10001 input.c:734: Test failed: peek: rshift: 0: got VK_SHIFT: 0 input.c:734: Test succeeded inside todo block: peek: rshift: 0: got VK_LSHIFT: 0 input.c:733: Test failed: peek: rshift: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x10, lparam 0xffffffffc0020001 input.c:733: Test failed: peek: lshift_ext: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x10, lparam 0x10001 input.c:734: Test failed: peek: lshift_ext: 0: got VK_SHIFT: 0 input.c:734: Test failed: peek: lshift_ext: 0: got VK_RSHIFT: 0 input.c:733: Test failed: peek: lshift_ext: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x10, lparam 0xffffffffc0020001 input.c:733: Test failed: peek: rshift_ext: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x10, lparam 0x10001 input.c:734: Test failed: peek: rshift_ext: 0: got VK_SHIFT: 0 input.c:734: Test failed: peek: rshift_ext: 0: got VK_RSHIFT: 0 input.c:733: Test failed: peek: rshift_ext: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x10, lparam 0xffffffffc0020001 input.c:733: Test failed: peek: shift: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x10, lparam 0x10001 input.c:734: Test failed: peek: shift: 0: got VK_SHIFT: 0 input.c:734: Test failed: peek: shift: 0: got VK_LSHIFT: 0 input.c:733: Test failed: peek: shift: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x10, lparam 0xffffffffc0020001 input.c:733: Test failed: peek: shift_ext: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x10, lparam 0x10001 input.c:734: Test failed: peek: shift_ext: 0: got VK_SHIFT: 0 input.c:734: Test failed: peek: shift_ext: 0: got VK_RSHIFT: 0 input.c:733: Test failed: peek: shift_ext: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x10, lparam 0xffffffffc0020001 input.c:733: Test failed: peek: rcontrol: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x11, lparam 0x10001 input.c:734: Test failed: peek: rcontrol: 0: got VK_CONTROL: 0 input.c:734: Test failed: peek: rcontrol: 0: got VK_LCONTROL: 0 input.c:733: Test failed: peek: rcontrol: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x11, lparam 0xffffffffc0020001 input.c:733: Test failed: peek: lcontrol_ext: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x11, lparam 0x1010001 input.c:734: Test failed: peek: lcontrol_ext: 0: got VK_CONTROL: 0 input.c:734: Test failed: peek: lcontrol_ext: 0: got VK_RCONTROL: 0 input.c:733: Test failed: peek: lcontrol_ext: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x11, lparam 0xffffffffc1020001 input.c:733: Test failed: peek: rcontrol_ext: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x11, lparam 0x1010001 input.c:734: Test failed: peek: rcontrol_ext: 0: got VK_CONTROL: 0 input.c:734: Test failed: peek: rcontrol_ext: 0: got VK_RCONTROL: 0 input.c:733: Test failed: peek: rcontrol_ext: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x11, lparam 0xffffffffc1020001 input.c:733: Test failed: peek: control: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x11, lparam 0x10001 input.c:734: Test failed: peek: control: 0: got VK_CONTROL: 0 input.c:734: Test failed: peek: control: 0: got VK_LCONTROL: 0 input.c:733: Test failed: peek: control: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x11, lparam 0xffffffffc0020001 input.c:733: Test failed: peek: control_ext: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x11, lparam 0x1010001 input.c:734: Test failed: peek: control_ext: 0: got VK_CONTROL: 0 input.c:734: Test failed: peek: control_ext: 0: got VK_RCONTROL: 0 input.c:733: Test failed: peek: control_ext: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x11, lparam 0xffffffffc1020001 input.c:733: Test failed: peek: rmenu_peeked: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_SYSKEYDOWN, wparam 0x12, lparam 0x20010001 input.c:734: Test failed: peek: rmenu_peeked: 0: got VK_MENU: 0 input.c:734: Test failed: peek: rmenu_peeked: 0: got VK_LMENU: 0 input.c:733: Test failed: peek: rmenu_peeked: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_SYSKEYUP, wparam 0x12, lparam 0xffffffffc0020001 input.c:733: Test failed: peek: lmenu_ext_peeked: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_SYSKEYDOWN, wparam 0x12, lparam 0x21010001 input.c:734: Test failed: peek: lmenu_ext_peeked: 0: got VK_MENU: 0 input.c:734: Test failed: peek: lmenu_ext_peeked: 0: got VK_RMENU: 0 input.c:733: Test failed: peek: lmenu_ext_peeked: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_SYSKEYUP, wparam 0x12, lparam 0xffffffffc1020001 input.c:733: Test failed: peek: rmenu_ext_peeked: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_SYSKEYDOWN, wparam 0x12, lparam 0x21010001 input.c:734: Test failed: peek: rmenu_ext_peeked: 0: got VK_MENU: 0 input.c:734: Test failed: peek: rmenu_ext_peeked: 0: got VK_RMENU: 0 input.c:733: Test failed: peek: rmenu_ext_peeked: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_SYSKEYUP, wparam 0x12, lparam 0xffffffffc1020001 input.c:733: Test failed: peek: menu_peeked: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_SYSKEYDOWN, wparam 0x12, lparam 0x20010001 input.c:734: Test failed: peek: menu_peeked: 0: got VK_MENU: 0 input.c:734: Test failed: peek: menu_peeked: 0: got VK_LMENU: 0 input.c:733: Test failed: peek: menu_peeked: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_SYSKEYUP, wparam 0x12, lparam 0xffffffffc0020001 input.c:733: Test failed: peek: menu_ext_peeked: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_SYSKEYDOWN, wparam 0x12, lparam 0x21010001 input.c:734: Test failed: peek: menu_ext_peeked: 0: got VK_MENU: 0 input.c:734: Test failed: peek: menu_ext_peeked: 0: got VK_RMENU: 0 input.c:733: Test failed: peek: menu_ext_peeked: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_SYSKEYUP, wparam 0x12, lparam 0xffffffffc1020001 input.c:733: Test failed: peek: lrshift_ext: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x10, lparam 0x10001 input.c:734: Test failed: peek: lrshift_ext: 0: got VK_SHIFT: 0 input.c:734: Test failed: peek: lrshift_ext: 0: got VK_LSHIFT: 0 input.c:734: Test failed: peek: lrshift_ext: 1: got VK_SHIFT: 0 input.c:734: Test failed: peek: lrshift_ext: 1: got VK_LSHIFT: 0 input.c:734: Test failed: peek: lrshift_ext: 1: got VK_RSHIFT: 0 input.c:734: Test failed: peek: lrshift_ext: 2: got VK_SHIFT: 0 input.c:734: Test failed: peek: lrshift_ext: 2: got VK_LSHIFT: 0 input.c:733: Test failed: peek: lrshift_ext: 3: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x10, lparam 0xffffffffc0040001 input.c:733: Test failed: peek: rshift_scan: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x10, lparam 0x360001 input.c:734: Test failed: peek: rshift_scan: 0: got VK_SHIFT: 0 input.c:734: Test failed: peek: rshift_scan: 0: got VK_LSHIFT: 0 input.c:733: Test failed: peek: rshift_scan: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x46, lparam 0x210001 input.c:733: Test failed: peek: rshift_scan: 1: test->expect 2 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_CHAR, wparam 0x46, lparam 0x210001 input.c:734: Test failed: peek: rshift_scan: 1: got VK_SHIFT: 0 input.c:734: Test failed: peek: rshift_scan: 1: got F: 0 input.c:734: Test failed: peek: rshift_scan: 1: got VK_LSHIFT: 0 input.c:733: Test failed: peek: rshift_scan: 2: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x46, lparam 0xffffffffc0210001 input.c:734: Test failed: peek: rshift_scan: 2: got VK_SHIFT: 0 input.c:734: Test failed: peek: rshift_scan: 2: got VK_LSHIFT: 0 input.c:733: Test failed: peek: rshift_scan: 3: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x10, lparam 0xffffffffc0360001 input.c:733: Test failed: peek: rctrl_scan: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x11, lparam 0x1d0001 input.c:734: Test failed: peek: rctrl_scan: 0: got VK_CONTROL: 0 input.c:734: Test failed: peek: rctrl_scan: 0: got VK_LCONTROL: 0 input.c:733: Test failed: peek: rctrl_scan: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x11, lparam 0xffffffffc01d0001 input.c:733: Test failed: peek: rctrl_scan: 2: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x11, lparam 0x11d0001 input.c:734: Test failed: peek: rctrl_scan: 2: got VK_CONTROL: 0 input.c:734: Test failed: peek: rctrl_scan: 2: got VK_RCONTROL: 0 input.c:733: Test failed: peek: rctrl_scan: 3: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x11, lparam 0xffffffffc11d0001 input.c:733: Test failed: peek: unicode: 0: test->expect 2 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_CHAR, wparam 0x3c0, lparam 0x1 input.c:734: Test failed: peek: unicode: 0: got 0xe7: 0 input.c:733: Test failed: peek: lmenu_unicode_peeked: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_SYSKEYDOWN, wparam 0x12, lparam 0x20010001 input.c:734: Test failed: peek: lmenu_unicode_peeked: 0: got VK_MENU: 0 input.c:734: Test failed: peek: lmenu_unicode_peeked: 0: got VK_LMENU: 0 input.c:734: Test failed: peek: lmenu_unicode_peeked: 1: got VK_MENU: 0 input.c:734: Test failed: peek: lmenu_unicode_peeked: 1: got VK_LMENU: 0 input.c:734: Test failed: peek: lmenu_unicode_peeked: 1: got 0xe7: 0 input.c:734: Test failed: peek: lmenu_unicode_peeked: 2: got VK_MENU: 0 input.c:734: Test failed: peek: lmenu_unicode_peeked: 2: got VK_LMENU: 0 input.c:733: Test failed: peek: lmenu_unicode_peeked: 3: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x12, lparam 0xffffffffc0040001 input.c:733: Test failed: peek: unicode_vkey: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x46, lparam 0xc00001 input.c:733: Test failed: peek: unicode_vkey: 0: test->expect 2 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_CHAR, wparam 0x66, lparam 0xc00001 input.c:734: Test failed: peek: unicode_vkey: 0: got F: 0 input.c:733: Test failed: peek: unicode_vkey: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x46, lparam 0xffffffffc0c00001 input.c:733: Test failed: peek: unicode_vkey_ctrl: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x11, lparam 0xc00001 input.c:734: Test failed: peek: unicode_vkey_ctrl: 0: got VK_CONTROL: 0 input.c:734: Test failed: peek: unicode_vkey_ctrl: 0: got VK_LCONTROL: 0 input.c:733: Test failed: peek: unicode_vkey_ctrl: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x11, lparam 0xffffffffc0c00001 input.c:733: Test failed: peek: unicode_vkey_packet: 0: test->expect 2 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_CHAR, wparam 0xc0, lparam 0x1 input.c:734: Test failed: peek: unicode_vkey_packet: 0: got 0xe7: 0 input.c:733: Test failed: peek: numpad_scan: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x25, lparam 0x4b0001 input.c:734: Test failed: peek: numpad_scan: 0: got 0x25: 0 input.c:733: Test failed: peek: numpad_scan: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x25, lparam 0xffffffffc04b0001 input.c:733: Test failed: peek: numpad_scan_numlock: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x90, lparam 0x450001 input.c:734: Test failed: peek: numpad_scan_numlock: 0: got 0x90: 0 input.c:733: Test failed: peek: numpad_scan_numlock: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x90, lparam 0xffffffffc0450001 input.c:734: Test succeeded inside todo block: peek: numpad_scan_numlock: 2: got 0x25: 0 input.c:733: Test failed: receive: lmenu_vkey: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_SYSKEYDOWN, wparam 0x12, lparam 0x20010001 input.c:734: Test failed: receive: lmenu_vkey: 0: got VK_MENU: 0 input.c:734: Test failed: receive: lmenu_vkey: 0: got VK_LMENU: 0 input.c:733: Test failed: receive: lmenu_vkey: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_SYSKEYDOWN, wparam 0x46, lparam 0x20020001 input.c:733: Test failed: receive: lmenu_vkey: 1: test->expect 2 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_SYSCHAR, wparam 0x66, lparam 0x20020001 input.c:733: Test failed: receive: lmenu_vkey: 1: test->expect 3 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_SYSCOMMAND, wparam 0xf100, lparam 0x66 input.c:734: Test failed: receive: lmenu_vkey: 1: got VK_MENU: 0 input.c:734: Test failed: receive: lmenu_vkey: 1: got F: 0 input.c:734: Test failed: receive: lmenu_vkey: 1: got VK_LMENU: 0 input.c:733: Test failed: receive: lmenu_vkey: 2: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_SYSKEYUP, wparam 0x46, lparam 0xffffffffe0030001 input.c:734: Test failed: receive: lmenu_vkey: 2: got VK_MENU: 0 input.c:734: Test failed: receive: lmenu_vkey: 2: got VK_LMENU: 0 input.c:733: Test failed: receive: lmenu_vkey: 3: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x12, lparam 0xffffffffc0040001 input.c:733: Test failed: receive: lcontrol_vkey: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x11, lparam 0x10001 input.c:734: Test failed: receive: lcontrol_vkey: 0: got VK_CONTROL: 0 input.c:734: Test failed: receive: lcontrol_vkey: 0: got VK_LCONTROL: 0 input.c:733: Test failed: receive: lcontrol_vkey: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x46, lparam 0x20001 input.c:733: Test failed: receive: lcontrol_vkey: 1: test->expect 2 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_CHAR, wparam 0x6, lparam 0x20001 input.c:734: Test failed: receive: lcontrol_vkey: 1: got VK_CONTROL: 0 input.c:734: Test failed: receive: lcontrol_vkey: 1: got F: 0 input.c:734: Test failed: receive: lcontrol_vkey: 1: got VK_LCONTROL: 0 input.c:733: Test failed: receive: lcontrol_vkey: 2: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x46, lparam 0xffffffffc0030001 input.c:734: Test failed: receive: lcontrol_vkey: 2: got VK_CONTROL: 0 input.c:734: Test failed: receive: lcontrol_vkey: 2: got VK_LCONTROL: 0 input.c:733: Test failed: receive: lcontrol_vkey: 3: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x11, lparam 0xffffffffc0040001 input.c:733: Test failed: receive: lmenu_lcontrol_vkey: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_SYSKEYDOWN, wparam 0x12, lparam 0x20010001 input.c:734: Test failed: receive: lmenu_lcontrol_vkey: 0: got VK_MENU: 0 input.c:734: Test failed: receive: lmenu_lcontrol_vkey: 0: got VK_LMENU: 0 input.c:733: Test failed: receive: lmenu_lcontrol_vkey: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x11, lparam 0x20020001 input.c:734: Test failed: receive: lmenu_lcontrol_vkey: 1: got VK_CONTROL: 0 input.c:734: Test failed: receive: lmenu_lcontrol_vkey: 1: got VK_MENU: 0 input.c:734: Test failed: receive: lmenu_lcontrol_vkey: 1: got VK_LCONTROL: 0 input.c:734: Test failed: receive: lmenu_lcontrol_vkey: 1: got VK_LMENU: 0 input.c:733: Test failed: receive: lmenu_lcontrol_vkey: 2: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x46, lparam 0x20030001 input.c:734: Test failed: receive: lmenu_lcontrol_vkey: 2: got VK_CONTROL: 0 input.c:734: Test failed: receive: lmenu_lcontrol_vkey: 2: got VK_MENU: 0 input.c:734: Test failed: receive: lmenu_lcontrol_vkey: 2: got F: 0 input.c:734: Test failed: receive: lmenu_lcontrol_vkey: 2: got VK_LCONTROL: 0 input.c:734: Test failed: receive: lmenu_lcontrol_vkey: 2: got VK_LMENU: 0 input.c:733: Test failed: receive: lmenu_lcontrol_vkey: 3: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x46, lparam 0xffffffffe0040001 input.c:734: Test failed: receive: lmenu_lcontrol_vkey: 3: got VK_CONTROL: 0 input.c:734: Test failed: receive: lmenu_lcontrol_vkey: 3: got VK_MENU: 0 input.c:734: Test failed: receive: lmenu_lcontrol_vkey: 3: got VK_LCONTROL: 0 input.c:734: Test failed: receive: lmenu_lcontrol_vkey: 3: got VK_LMENU: 0 input.c:733: Test failed: receive: lmenu_lcontrol_vkey: 4: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_SYSKEYUP, wparam 0x11, lparam 0xffffffffe0050001 input.c:734: Test failed: receive: lmenu_lcontrol_vkey: 4: got VK_MENU: 0 input.c:734: Test failed: receive: lmenu_lcontrol_vkey: 4: got VK_LMENU: 0 input.c:733: Test failed: receive: lmenu_lcontrol_vkey: 5: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x12, lparam 0xffffffffc0060001 input.c:733: Test failed: receive: shift_vkey: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x10, lparam 0x10001 input.c:734: Test failed: receive: shift_vkey: 0: got VK_SHIFT: 0 input.c:734: Test failed: receive: shift_vkey: 0: got VK_LSHIFT: 0 input.c:733: Test failed: receive: shift_vkey: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x46, lparam 0x20001 input.c:733: Test failed: receive: shift_vkey: 1: test->expect 2 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_CHAR, wparam 0x46, lparam 0x20001 input.c:734: Test failed: receive: shift_vkey: 1: got VK_SHIFT: 0 input.c:734: Test failed: receive: shift_vkey: 1: got F: 0 input.c:734: Test failed: receive: shift_vkey: 1: got VK_LSHIFT: 0 input.c:733: Test failed: receive: shift_vkey: 2: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x46, lparam 0xffffffffc0030001 input.c:734: Test failed: receive: shift_vkey: 2: got VK_SHIFT: 0 input.c:734: Test failed: receive: shift_vkey: 2: got VK_LSHIFT: 0 input.c:733: Test failed: receive: shift_vkey: 3: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x10, lparam 0xffffffffc0040001 input.c:733: Test failed: receive: rshift: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x10, lparam 0x10001 input.c:734: Test failed: receive: rshift: 0: got VK_SHIFT: 0 input.c:734: Test succeeded inside todo block: receive: rshift: 0: got VK_LSHIFT: 0 input.c:733: Test failed: receive: rshift: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x10, lparam 0xffffffffc0020001 input.c:733: Test failed: receive: lshift_ext: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x10, lparam 0x10001 input.c:734: Test failed: receive: lshift_ext: 0: got VK_SHIFT: 0 input.c:734: Test failed: receive: lshift_ext: 0: got VK_RSHIFT: 0 input.c:733: Test failed: receive: lshift_ext: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x10, lparam 0xffffffffc0020001 input.c:733: Test failed: receive: rshift_ext: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x10, lparam 0x10001 input.c:734: Test failed: receive: rshift_ext: 0: got VK_SHIFT: 0 input.c:734: Test failed: receive: rshift_ext: 0: got VK_RSHIFT: 0 input.c:733: Test failed: receive: rshift_ext: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x10, lparam 0xffffffffc0020001 input.c:733: Test failed: receive: shift: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x10, lparam 0x10001 input.c:734: Test failed: receive: shift: 0: got VK_SHIFT: 0 input.c:734: Test failed: receive: shift: 0: got VK_LSHIFT: 0 input.c:733: Test failed: receive: shift: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x10, lparam 0xffffffffc0020001 input.c:733: Test failed: receive: shift_ext: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x10, lparam 0x10001 input.c:734: Test failed: receive: shift_ext: 0: got VK_SHIFT: 0 input.c:734: Test failed: receive: shift_ext: 0: got VK_RSHIFT: 0 input.c:733: Test failed: receive: shift_ext: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x10, lparam 0xffffffffc0020001 input.c:733: Test failed: receive: rcontrol: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x11, lparam 0x10001 input.c:734: Test failed: receive: rcontrol: 0: got VK_CONTROL: 0 input.c:734: Test failed: receive: rcontrol: 0: got VK_LCONTROL: 0 input.c:733: Test failed: receive: rcontrol: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x11, lparam 0xffffffffc0020001 input.c:733: Test failed: receive: lcontrol_ext: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x11, lparam 0x1010001 input.c:734: Test failed: receive: lcontrol_ext: 0: got VK_CONTROL: 0 input.c:734: Test failed: receive: lcontrol_ext: 0: got VK_RCONTROL: 0 input.c:733: Test failed: receive: lcontrol_ext: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x11, lparam 0xffffffffc1020001 input.c:733: Test failed: receive: rcontrol_ext: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x11, lparam 0x1010001 input.c:734: Test failed: receive: rcontrol_ext: 0: got VK_CONTROL: 0 input.c:734: Test failed: receive: rcontrol_ext: 0: got VK_RCONTROL: 0 input.c:733: Test failed: receive: rcontrol_ext: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x11, lparam 0xffffffffc1020001 input.c:733: Test failed: receive: control: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x11, lparam 0x10001 input.c:734: Test failed: receive: control: 0: got VK_CONTROL: 0 input.c:734: Test failed: receive: control: 0: got VK_LCONTROL: 0 input.c:733: Test failed: receive: control: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x11, lparam 0xffffffffc0020001 input.c:733: Test failed: receive: control_ext: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x11, lparam 0x1010001 input.c:734: Test failed: receive: control_ext: 0: got VK_CONTROL: 0 input.c:734: Test failed: receive: control_ext: 0: got VK_RCONTROL: 0 input.c:733: Test failed: receive: control_ext: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x11, lparam 0xffffffffc1020001 input.c:733: Test failed: receive: rmenu: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_SYSKEYDOWN, wparam 0x12, lparam 0x20010001 input.c:734: Test failed: receive: rmenu: 0: got VK_MENU: 0 input.c:734: Test failed: receive: rmenu: 0: got VK_LMENU: 0 input.c:733: Test failed: receive: rmenu: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_SYSKEYUP, wparam 0x12, lparam 0xffffffffc0020001 input.c:733: Test failed: receive: rmenu: 1: test->expect 2 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_SYSCOMMAND, wparam 0xf100, lparam 0 input.c:733: Test failed: receive: lmenu_ext: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_SYSKEYDOWN, wparam 0x12, lparam 0x21010001 input.c:734: Test failed: receive: lmenu_ext: 0: got VK_MENU: 0 input.c:734: Test failed: receive: lmenu_ext: 0: got VK_RMENU: 0 input.c:733: Test failed: receive: lmenu_ext: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_SYSKEYUP, wparam 0x12, lparam 0xffffffffc1020001 input.c:733: Test failed: receive: lmenu_ext: 1: test->expect 2 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_SYSCOMMAND, wparam 0xf100, lparam 0 input.c:733: Test failed: receive: rmenu_ext: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_SYSKEYDOWN, wparam 0x12, lparam 0x21010001 input.c:734: Test failed: receive: rmenu_ext: 0: got VK_MENU: 0 input.c:734: Test failed: receive: rmenu_ext: 0: got VK_RMENU: 0 input.c:733: Test failed: receive: rmenu_ext: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_SYSKEYUP, wparam 0x12, lparam 0xffffffffc1020001 input.c:733: Test failed: receive: rmenu_ext: 1: test->expect 2 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_SYSCOMMAND, wparam 0xf100, lparam 0 input.c:733: Test failed: receive: menu: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_SYSKEYDOWN, wparam 0x12, lparam 0x20010001 input.c:734: Test failed: receive: menu: 0: got VK_MENU: 0 input.c:734: Test failed: receive: menu: 0: got VK_LMENU: 0 input.c:733: Test failed: receive: menu: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_SYSKEYUP, wparam 0x12, lparam 0xffffffffc0020001 input.c:733: Test failed: receive: menu: 1: test->expect 2 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_SYSCOMMAND, wparam 0xf100, lparam 0 input.c:733: Test failed: receive: menu_ext: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_SYSKEYDOWN, wparam 0x12, lparam 0x21010001 input.c:734: Test failed: receive: menu_ext: 0: got VK_MENU: 0 input.c:734: Test failed: receive: menu_ext: 0: got VK_RMENU: 0 input.c:733: Test failed: receive: menu_ext: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_SYSKEYUP, wparam 0x12, lparam 0xffffffffc1020001 input.c:733: Test failed: receive: menu_ext: 1: test->expect 2 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_SYSCOMMAND, wparam 0xf100, lparam 0 input.c:733: Test failed: receive: lrshift_ext: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x10, lparam 0x10001 input.c:734: Test failed: receive: lrshift_ext: 0: got VK_SHIFT: 0 input.c:734: Test failed: receive: lrshift_ext: 0: got VK_LSHIFT: 0 input.c:734: Test failed: receive: lrshift_ext: 1: got VK_SHIFT: 0 input.c:734: Test failed: receive: lrshift_ext: 1: got VK_LSHIFT: 0 input.c:734: Test failed: receive: lrshift_ext: 1: got VK_RSHIFT: 0 input.c:734: Test failed: receive: lrshift_ext: 2: got VK_SHIFT: 0 input.c:734: Test failed: receive: lrshift_ext: 2: got VK_LSHIFT: 0 input.c:733: Test failed: receive: lrshift_ext: 3: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x10, lparam 0xffffffffc0040001 input.c:733: Test failed: receive: rshift_scan: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x10, lparam 0x360001 input.c:734: Test failed: receive: rshift_scan: 0: got VK_SHIFT: 0 input.c:734: Test failed: receive: rshift_scan: 0: got VK_LSHIFT: 0 input.c:733: Test failed: receive: rshift_scan: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x46, lparam 0x210001 input.c:733: Test failed: receive: rshift_scan: 1: test->expect 2 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_CHAR, wparam 0x46, lparam 0x210001 input.c:734: Test failed: receive: rshift_scan: 1: got VK_SHIFT: 0 input.c:734: Test failed: receive: rshift_scan: 1: got F: 0 input.c:734: Test failed: receive: rshift_scan: 1: got VK_LSHIFT: 0 input.c:733: Test failed: receive: rshift_scan: 2: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x46, lparam 0xffffffffc0210001 input.c:734: Test failed: receive: rshift_scan: 2: got VK_SHIFT: 0 input.c:734: Test failed: receive: rshift_scan: 2: got VK_LSHIFT: 0 input.c:733: Test failed: receive: rshift_scan: 3: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x10, lparam 0xffffffffc0360001 input.c:733: Test failed: receive: rctrl_scan: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x11, lparam 0x1d0001 input.c:734: Test failed: receive: rctrl_scan: 0: got VK_CONTROL: 0 input.c:734: Test failed: receive: rctrl_scan: 0: got VK_LCONTROL: 0 input.c:733: Test failed: receive: rctrl_scan: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x11, lparam 0xffffffffc01d0001 input.c:733: Test failed: receive: rctrl_scan: 2: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x11, lparam 0x11d0001 input.c:734: Test failed: receive: rctrl_scan: 2: got VK_CONTROL: 0 input.c:734: Test failed: receive: rctrl_scan: 2: got VK_RCONTROL: 0 input.c:733: Test failed: receive: rctrl_scan: 3: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x11, lparam 0xffffffffc11d0001 input.c:733: Test failed: receive: unicode: 0: test->expect 2 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_CHAR, wparam 0x3c0, lparam 0x1 input.c:734: Test failed: receive: unicode: 0: got 0xe7: 0 input.c:733: Test failed: receive: lmenu_unicode: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_SYSKEYDOWN, wparam 0x12, lparam 0x20010001 input.c:734: Test failed: receive: lmenu_unicode: 0: got VK_MENU: 0 input.c:734: Test failed: receive: lmenu_unicode: 0: got VK_LMENU: 0 input.c:734: Test failed: receive: lmenu_unicode: 1: got VK_MENU: 0 input.c:734: Test failed: receive: lmenu_unicode: 1: got VK_LMENU: 0 input.c:734: Test failed: receive: lmenu_unicode: 1: got 0xe7: 0 input.c:734: Test failed: receive: lmenu_unicode: 2: got VK_MENU: 0 input.c:734: Test failed: receive: lmenu_unicode: 2: got VK_LMENU: 0 input.c:733: Test failed: receive: lmenu_unicode: 3: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x12, lparam 0xffffffffc0040001 input.c:733: Test failed: receive: unicode_vkey: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x46, lparam 0xc00001 input.c:733: Test failed: receive: unicode_vkey: 0: test->expect 2 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_CHAR, wparam 0x66, lparam 0xc00001 input.c:734: Test failed: receive: unicode_vkey: 0: got F: 0 input.c:733: Test failed: receive: unicode_vkey: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x46, lparam 0xffffffffc0c00001 input.c:733: Test failed: receive: unicode_vkey_ctrl: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x11, lparam 0xc00001 input.c:734: Test failed: receive: unicode_vkey_ctrl: 0: got VK_CONTROL: 0 input.c:734: Test failed: receive: unicode_vkey_ctrl: 0: got VK_LCONTROL: 0 input.c:733: Test failed: receive: unicode_vkey_ctrl: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x11, lparam 0xffffffffc0c00001 input.c:733: Test failed: receive: unicode_vkey_packet: 0: test->expect 2 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_CHAR, wparam 0xc0, lparam 0x1 input.c:734: Test failed: receive: unicode_vkey_packet: 0: got 0xe7: 0 input.c:733: Test failed: receive: numpad_scan: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x25, lparam 0x4b0001 input.c:734: Test failed: receive: numpad_scan: 0: got 0x25: 0 input.c:733: Test failed: receive: numpad_scan: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x25, lparam 0xffffffffc04b0001 input.c:733: Test failed: receive: numpad_scan_numlock: 0: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYDOWN, wparam 0x90, lparam 0x450001 input.c:734: Test failed: receive: numpad_scan_numlock: 0: got 0x90: 0 input.c:733: Test failed: receive: numpad_scan_numlock: 1: test->expect 1 (missing): MSG_TEST_WIN hwnd 0000000000000000, WM_KEYUP, wparam 0x90, lparam 0xffffffffc0450001 input.c:734: Test succeeded inside todo block: receive: numpad_scan_numlock: 2: got 0x25: 0 input.c:4305: Test succeeded inside todo block: button_down_hwnd_todo 1: got MSG_TEST_WIN hwnd 00000000009200F0, msg WM_LBUTTONDOWN, wparam 0x1, lparam 0x320032
Report validation errors: user32:input prints too much data (62373 bytes)