[Kde-imaging] [Bug 152208] Comments lost when converting from png to jpeg

Marcel Wiesweg marcel.wiesweg at gmx.de
Sat Dec 13 22:17:20 CET 2008


http://bugs.kde.org/show_bug.cgi?id=152208





--- Comment #7 from Marcel Wiesweg <marcel wiesweg gmx de>  2008-12-13 22:17:19 ---
We have refreshImages in kipiinterface().
We can always have the race condition if the new file is created, detected by
the dir watch, scanned, and then the metadata is added. For 0.10 this can
happen as well. The plugin shall call refreshImages() afterwards, but this will
currently not result in a full metadata rescan, only in a partial rescan
(because e.g. for the jpeglossless plugin, a full rescan would be
inappropriate).

It's different if the plugin would call the addImage method. I can make it such
that calling this method will always result in a full rescan. It seems that
batchprocess is not available for KDE4? A plugin where a 100% metadata change
can occur after file creation shall then call addImage when it has ensured that
the file in finalized.

I would like to think about this solution. Any implications?


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kde-imaging mailing list