Summary: | When adding new tag to multiple images, tags not in common are removed from metadata, though still present in database | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Elle Stone <elle> |
Component: | Metadata-Hub | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | grave | CC: | ajg02, caulier.gilles, rechner |
Priority: | NOR | ||
Version: | 1.9.0 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 1.9.0 | |
Sentry Crash Report: |
Description
Elle Stone
2011-01-29 14:57:01 UTC
This is a serious issue. I also rebuilt my database a few times from the tags saved in the images, and may have lost tags this way. I can confirm the loss of tags when adding tags to multiple images, as described in the original bug report. I also tested adding a new tag to a single image with an existing tag, and the existing tag was preserved. I checked for the actual tags in the image file(s) with "exiv2 -pi [image]" and "exiv2 -px". Currently I'm using digiKam 1.2.0 in Debian Squeeze (the release candidate for the next stable Debian release) and digiKam 1.7.0 on Mac OS X. They share one database for tags and ratings (only sharing the thumbnail database was not possible, but that does not matter). I'd like to continue using 1.x digiKam releases for some time (at least until Ubuntu 11.04 is out), and it would be great if someone could also apply the fix to this bug to Debian and Ubuntu distributions that will still be used for years! Marcel, we must to take a look into this file, for next 1.9.0. It's an important issue. I suspect something wrong in metadatahub, or dmetadata, but i cannot see what's wrong exactly... Gilles Caulier SVN commit 1218563 by mwiesweg: Take care that we only add and remove keywords, not replace all existing keywords. (needs some more testing with complex scenarios) CCBUG: 264745 M +14 -8 metadatahub.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1218563 SVN commit 1218608 by cgilles: backport commit #1218563 from GoSC2010 branch BUGS: 264745 M +14 -8 metadatahub.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1218608 |