[Digikam-devel] [Bug 286611] Tags are losts (randomly) when converting Tiff to Png

Marcel Wiesweg marcel.wiesweg at gmx.de
Sun Mar 4 20:31:10 GMT 2012


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

Marcel Wiesweg <marcel.wiesweg at gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marcel.wiesweg at gmx.de

--- Comment #27 from Marcel Wiesweg <marcel.wiesweg at gmx.de> ---
Digikam creates temp files which include the string "digikamtempfile." These
files are ignored by the collection scanner. Simplistic, but works.
For the reason you mention, we create temp files in the directory of the
destination.

Andreas: Maybe exiv2 could use such a magic string as well?

The usage of a temp file name which is identical per-target per-application may
explain some of the corruption we saw with concurrent operations on the same
file.

Andreas: Just to confirm, writing operations in Exiv2 are reentrant, I mean
writing to multiple _different_ files concurrently is safe, no shared or static
buffers?

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list