Version: 0.9.1 svn (using KDE KDE 3.5.6) Installed from: SuSE RPMs if you change the order of a tag tree and then update IPTC using the menu option "sync all Metadata", the "new" tag gets written additionally into IPTC but the "old" remains there. Example to explain: tag tree is: - girlfriends - Susi - Heidi - ... ex-girlfriends - Jane - Melanie - ... Now I move tag Susi from girlfriends to ex-girlfriends using the right tags sidebar. Database gets updated, but in IPTC, of course, it's still "girlfriends/Susi". So I use "sync all Metadata". After this IPTC is "girlfriends/Susi, ex-girlfriends/Susi". I understand that sync doesn't want to delete existing IPTC keywords, but on the other hand, in this case it is still not a real sync. At least it should mirror changes in tags/keywords that are done using digiKam. As there is no "edit Metadata"-plugin option in the Menu anymore, the wrong IPTC cannot be corrected within digiKam and another app must be used for that. (I used imageMagick to remove all IPTC headers and then rebuild them with the sync tool of digiKam, but digiKam should offer such possibilities itself, I think).
I wonder if this could be fixed by providing an option: Save tags - preserve existing tags - overwrite existing tags All other solutions would require to store a list of all old tag names, which I dont like too much.
I can confirm this on 0.9.1 final on Kubuntu Feisty. There's an option to remove ITPC data from all selected images, but I think this removes ALL ITPC data. You could try this and then resync metadata... if you don't have any other important ITPC tags.
A quick partial fix would be to delete all copies of the tag being renamed from the ITPC metadata (if auto writing to ITPC keywords is enabled, of course), and then adding them back as the new tags. If the deleting fails, there will still be the extra copy, but if adding fails, the correct data will be in the database so a sync metadata would add the correct tag back into the ITPC keywords.
SVN commit 982571 by cgilles: This is a long standing bug about Tag synchronization to XMP and IPTC keywords. To wrap around this problem, we remove all previous keywords before to apply new sets. Marcel, i think MetadataHub is right : new and old tags lists are fine. Problem must be in libkexiv2. Anyway this patch fix the problem for the moment. BUGS: 175321 BUGS: 159158 BUGS: 141912 BUGS: 186308 CCMAIL: marcel.wiesweg@gmx.de M +7 -4 metadatahub.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=982571