[Digikam-devel] [Bug 288761] cached image corrupted after modifying metadata
kde at schreiber-rolf.de
kde at schreiber-rolf.de
Fri Dec 16 18:02:18 GMT 2011
https://bugs.kde.org/show_bug.cgi?id=288761
--- Comment #3 from <kde schreiber-rolf de> 2011-12-16 18:02:18 ---
I think I've debugged down now, what the problem is:
If a second modification of a file happens in short time distance to the first
modification, then while loading the preview image because of the first
modification (previewtask.cpp PreviewLoadingTask::execute(), line
m_img.load(m_loadingDescription.filePath, this,
m_loadingDescription.rawDecodingSettings);
at the same time because of the second modification another thread writes
file.jpg$pid, removes file.jpg and moves file.jpg$pid to file.jpg
at the momement of the file remove the previewload thinks loading has finished,
while in reality only a part of the image has been read, and thats the part
which is displayed then.
--
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