[Digikam-devel] [Bug 233222] Thumbnails displayed are from incorrect images
Marcel Wiesweg
marcel.wiesweg at gmx.de
Mon May 24 17:01:27 BST 2010
https://bugs.kde.org/show_bug.cgi?id=233222
--- Comment #23 from Marcel Wiesweg <marcel wiesweg gmx de> 2010-05-24 18:01:22 ---
SVN commit 1130153 by mwiesweg:
Regard a file as modified when its file size has changed, even if the
modification
date did not change.
This seems necessary to prevent problems like bug 233222 to persist: Now the
file
may still be wrongly scanned during the copy operation, but at least at next
rescan it will be corrected. Moreover it seems reasonable to assume a changed
file
when the file size changed (some operations will restore the modification
date).
Overhead: For my collections of 30000 images, scanning took 1550 msec without
the change
and 1750 including the check, with hot caches. With cold caches, the scan took
9300 msec in both cases, no significant difference here.
Note: At first start with this check, there may be a good number of files
rescanned.
CCBUG: 233222
CCMAIL: digikam-devel at kde.org
M +10 -0 collectionscanner.cpp
M +5 -6 imagescanner.cpp
WebSVN link: http://websvn.kde.org/?view=rev&revision=1130153
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Digikam-devel
mailing list