From: Zhao Yi <zhaoyi(a)uniontech.com> Reset the valuse of bNoItemMetrics to TRUE in LISTVIEW_DeleteAllItems() to Fix "2345 picture viewer" not displaying all files. Signed-off-by: Zhao Yi <zhaoyi(a)uniontech.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 750e447dbef..026884372aa 100644 --- a/dlls/comctl32/listview.c +++ b/dlls/comctl32/listview.c @@ -5590,7 +5590,7 @@ static BOOL LISTVIEW_DeleteAllItems(LISTVIEW_INFO *infoPtr, BOOL destroy) LISTVIEW_UpdateScroll(infoPtr); } LISTVIEW_InvalidateList(infoPtr); - + infoPtr->bNoItemMetrics = TRUE; return TRUE; } -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/3113