[Digikam-devel] [Bug 185317] Album thumbnails are gone when moving nested albums
Marcel Wiesweg
marcel.wiesweg at gmx.de
Mon Feb 23 20:24:25 GMT 2009
https://bugs.kde.org/show_bug.cgi?id=185317
Marcel Wiesweg <marcel.wiesweg at gmx.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |marcel.wiesweg at gmx.de
--- Comment #3 from Marcel Wiesweg <marcel wiesweg gmx de> 2009-02-23 21:24:24 ---
Look at thumbnailcreator.cpp and thumbnailbasic.cpp in libs/threadimageio.
According to freedesktop's specification, the name of the thumbnail is computed
from an MD5 hash of the file path - from the full file path.
As far as I know no thumbnails are ever moved when a file is moved, so any
change in the file paths would cause thumbnail recomputation. Or is there a
piece of code somewhere that I am missing?
We can of course implement a thumbnail renaming functionality. Would need to be
triggered from dio.cpp. After a double check that the move operations from
within digikam all use a digikamalbums:// url it could be put into the copy and
rename methods of the ioslave.
When a move is done from outside digikam, we will recognize the files by
checksum and could use that information as well. (This includes the case
above). Perhaps this is the better method. But we need to build a bridge from
the collection scanner to a place that knows about thumbnails
--
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