Nikolay Sivov (@nsivov) commented about dlls/comctl32/tests/listview.c:
+ item.iSubItem = 1; + item.iItem = 0; + item.pszText = b_text; + SendMessageA(listview, LVM_SETITEMTEXTA, 0, (LPARAM)&item); + item.iSubItem = 2; + item.iItem = 0; + item.pszText = c_text; + SendMessageA(listview, LVM_SETITEMTEXTA, 0, (LPARAM)&item); + + flush_events(); + flush_sequences(sequences, NUM_MSG_SEQUENCES); + + InvalidateRect(listview, NULL, FALSE); + flush_events(); + ok_sequence(sequences, LISTVIEW_SEQ_INDEX, listview_invalidate_rect, "column order caching in refresh", FALSE); + Does this message sequence work with comctl32 v6? If it doesn't I would remove it. What we need to test is that HDM_SETORDERARRAY without LVM_SETCOLUMNORDERARRAY works as expected.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/8320#note_106609