https://bugs.kde.org/show_bug.cgi?id=505015

--- Comment #5 from Johannes Zarl-Zierl <[email protected]> ---
Git commit 12282f3f34b6b1213232e54355a6c40558ed4c45 by Johannes Zarl-Zierl, on
behalf of Randall Rude.
Committed on 04/11/2025 at 20:48.
Pushed by johanneszarl into branch 'master'.

Don't updateCell for a new thumbnail

Here's another scenario that logs "dataChanged() called with an invalid index
range":
* start a fresh demo
* open the thumbnail view
* add at least one new image in the demo folder
* rescan for new images - the message is logged once per new image

This patch only triggers dataChanged() when a thumbnail is updated, not when a
new thumbnail is inserted into the cache.

M  +11   -1    lib/kpathumbnails/TestThumbnailCache.cpp
M  +9    -2    lib/kpathumbnails/ThumbnailCache.cpp
M  +5    -4    lib/kpathumbnails/ThumbnailCache.h

https://invent.kde.org/graphics/kphotoalbum/-/commit/12282f3f34b6b1213232e54355a6c40558ed4c45

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to