Bug 152199

Summary: Deleting tags can leave orphaned IPTC keywords inside files
Product: [Applications] digikam Reporter: james
Component: Metadata-IptcAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: krienke, x3ri7yz02
Priority: NOR    
Version: 0.9.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 1.0.0

Description james 2007-11-12 11:53:51 UTC
Version:           0.9.2-final (using KDE KDE 3.5.8)
Installed from:    Ubuntu Packages
OS:                Linux

Steps to recreate:

1. Set digikam to save tags as IPTC keywords.
2. Create new tag, say, "TESTTAG".
3. Use it to tag an image.
4. Delete the tag.

The JPEG file will still contain "TESTTAG" in its list of IPTC keywords.

Workaround: always untag an image before deleting the tag. To delete already orphaned IPTC keywords, you can recreate the tag inside digikam, then tag the image, then untag the image, then delete the tag.

Solution: When deleting a tag, Digikam should delete corresponding IPTC keywords.
Comment 1 Arnd Baecker 2008-04-25 07:34:28 UTC
*** Bug 158713 has been marked as a duplicate of this bug. ***
Comment 2 x3ri7yz02 2008-05-27 03:45:51 UTC
Tested with SVN (lib-exiv2 revision 1463; digikam revision 813155).

Bug can be replicated with this SVN version. 

Comment 3 Christian Häne 2008-08-14 08:26:10 UTC
Another workaround is to remove the whole IPTC metadata and then run "synchronize images with database".
Comment 4 caulier.gilles 2009-06-23 15:08:00 UTC
This is fixed in current implementation from svn (1.0.0-beta2)

Gilles Caulier