Summary: | User comments in the EXIF/IPTC-data aren't carried over to the "Comments" | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Caspar Maessen <cmaessen> |
Component: | Plugin-Generic-MetadataEdit | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles |
Priority: | NOR | ||
Version: | 0.9.0 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 0.9.0 | |
Sentry Crash Report: |
Description
Caspar Maessen
2006-10-24 21:33:49 UTC
SVN commit 598955 by cgilles: digikam from trunk : KipiInterface : if a kipi-plugin change pictures metadata, use libkipi::Interface::refreshImages() to update sidebar Metadata contents. Important: Marcel, this way do not yet update database contents accordinly with metadata contents (Tags/Rating/date/comments <==> EXIF/IPTC) from an existing item in picture collections. This requires more indeep changes in Digikam::Scanlib and digikam::AlbumDB class. We need to discut about these changes together. CCMAIL: marcel.wiesweg@gmx.de CCBUGS: 136260, 136258, 136256 M +8 -2 kipiinterface.cpp --- trunk/extragear/graphics/digikam/digikam/kipiinterface.cpp #598954:598955 @@ -62,6 +62,7 @@ #include "dmetadata.h" #include "imageattributeswatch.h" #include "kipiinterface.h" +#include "kipiinterface.moc" namespace Digikam { @@ -597,6 +598,13 @@ void DigikamKipiInterface::refreshImages( const KURL::List& urls ) { + KURL::List ulist = urls; + + // Re-scan metadata from pictures. This way will update Metadata sidebar and database. + for ( KURL::List::Iterator it = ulist.begin() ; it != ulist.end() ; ++it ) + ImageAttributesWatch::instance()->fileMetadataChanged(*it); + + // Refresh preview. albumManager_->refreshItemHandler(urls); } @@ -685,5 +693,3 @@ } // namespace Digikam -#include "kipiinterface.moc" - Caspar, This file is obsolete now. The MetadataEdit plugin has changed. There is no batch process mode with this plugin to edit EXIF/IPTC informations. Of course, you can edit a pictures serie but one by one. In other way, i have add a special tool in this plugin to edit Pictures Comments (and only comments) in batch mode. IPTC and EXIF tags can be sync. http://digikam3rdparty.free.fr/Screenshots/KipipluginBatchCommentsEditor.png I close this file now. Gilles Caulier I appreciate the fact that for the moment you stick with the MetadataEdit plugin. But most people will agree that editing more or less generic data like name, copyright and contactinformation file by file, is a nusance. For the moment I solved this with exiv2 in a script, but I sincerely hope that a more userfriendly form will be implemented in the future. Caspar. |