Log: The flag that bNoItemMetrics should be reset to TRUE after
calling LISTVIEW_DeleteAllItems().
Signed-off-by: Zhao Yi zhaoyi@uniontech.com
-- v3: comctl32: Fix the problem that listview cannot display all files.
From: Zhao Yi zhaoyi@uniontech.com
Log: The flag that bNoItemMetrics should be reset to TRUE after calling LISTVIEW_DeleteAllItems().
Signed-off-by: Zhao Yi zhaoyi@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; }
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=130645
Your paranoid android.
=== debian11 (32 bit report) ===
dinput: device8.c:432: Test failed: 0x800: WaitForSingleObject returned 0x102 device8.c:437: Test failed: 0x800: got count 0 device8.c:452: Test failed: 0x800: WaitForSingleObject returned 0x102 device8.c:457: Test failed: 0x800: got count 0
In general, we try to be specific about the commit message subject instead of just saying "fix something". You can say "comctl32/listview: Set bNoItemMetrics to TRUE in LISTVIEW_DeleteAllItems()" in the commit message subject and then in the commit message "Fix 2345 picture viewer not displaying all files."
On Fri Mar 17 08:44:26 2023 +0000, Zhiyi Zhang wrote:
In general, we try to be specific about the commit message subject instead of just saying "fix something". You can say "comctl32/listview: Set bNoItemMetrics to TRUE in LISTVIEW_DeleteAllItems()." in the commit message subject and then in the commit message body "Fix 2345 picture viewer not displaying all files."
OK, I will modify the commit message as you said later ^V^.