| Summary: | Tags are not filled from the IPTC-keywords. | ||
|---|---|---|---|
| Product: | [Applications] digikam | Reporter: | Caspar Maessen <cmaessen> | 
| Component: | Tags-Keywords | Assignee: | Digikam Developers <digikam-bugs-null> | 
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | caulier.gilles | 
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | 0.9.0 | |
| Sentry Crash Report: | |||
| 
 
        
          Description
        
        
          Caspar Maessen
        
        
        
        
          2006-10-24 21:16:52 UTC
        
       
    Caspar, Give us more informations. Are you used the MetadataEdit kipi plugin (is still under development) ? 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, Please give me a fresh feedback using current implementation from svn of digiKam and kipi-plugins. Thanks in advance Gilles Placed an imagefile with filled iptc keywords via konqueror in an album . Opened digiKam to view the file and its tags. This works OK. Caspar. ok, closed... Gilles  |