[Digikam-devel] [Bug 136060] Doesn't save existing comments when "save image comments as embedded text" has been activated

Marcel Wiesweg marcel.wiesweg at gmx.de
Thu Oct 26 21:16:24 BST 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=136060         




------- Additional Comments From marcel.wiesweg gmx de  2006-10-26 22:16 -------
Some thoughts from me:
We will need tools for both ways: digikam db -> image metadata, and image metadata -> digikam db.
It's relatively easy to add a manual option for both. There can be a dialog to provide fine grained control which data shall be sync'ed.
In the backend, we can put the code to libs/ and share it for all places where it's used (imagedescedittab, albumiconview etc.) to address bug 127583.
In the UI, it can be accessible from the menu as a batch job, and from the imagedescedittab for the current selection.
I am not sure if we can call it "metadata synchronization" and offer to set the syncing direction in a dialog, or if we should only offer the db->metadata direction in the UI and do the metadata->db direction only under the hood.
But doing this automatically, based on modification dates in Scanlib, is much more difficult. The same applies to the problem to sync with kipi changes: Can we assume that the user always wants to sync everything from image metadata? Or only if he set in the option to _write_ it to the image? In either case it would be easy to trigger the sync from the refreshImage method, but more difficult from Scanlib - for this we'd need to store modification dates.



More information about the Digikam-devel mailing list