Summary: | Reread metadata does not remove tags from database | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | b3nmore |
Component: | Metadata-Hub | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | b3nmore, caulier.gilles, metzpinguin, veaceslav.munteanu90 |
Priority: | NOR | ||
Version: | 4.10.0 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 4.11.0 | |
Sentry Crash Report: |
Description
b3nmore
2012-10-30 10:00:23 UTC
Veaceslav, What's about this file for next 4.3.0 ? It's already fixed ? Gilles I will mark this one as duplicate, since this bug report: https://bugs.kde.org/show_bug.cgi?id=337688 have a lot more testcases and covers more problems and I also did a lot of work on it. Please post your comments there, if you can reproduce some bugs related to read/write metadata *** This bug has been marked as a duplicate of bug 337688 *** I find this still to be an issue in digikam 4.10. Since the other issues from bug 337688 have been solved I'm reopening this one. By programming it is easy to remove all tags, but not all users write their tags in the metadata of image. A rereading of metadata would all tags delete in the DB. Also I have tags only in the DB, I know, at loss the DB were tags in the metadata of images of advantage. Optional by a setting in the metadata settings could be a solution. Current Status: Rating, color and pick tags only be changed or removed if valid data exist in the metadata of image. Keyword tags are added only new. Maik Adding a settings option to keep the db in sync with image metadata would be highly appreciated. IMO this would be useful in many cases like backups, sharing pictures between different machines or working with different programs on the same set of pictures. Additionally right now it is hard to tell, if a keyword tag is in the image metadata or only in digikams db. So, with this commit I implemented "Remove Unused Tags" in Tags Manager http://quickgit.kde.org/?p=digikam.git&a=commit&h=6943606fa92404c296c23a8982df47339dc4164e since it was a similar report: https://bugs.kde.org/show_bug.cgi?id=348105 I suggest to re-read metadata and then, just call Remove Unused Tags and you have the desired result. This option is quite dangerous and I will perform some tests tomorrow. Git commit 727514c264edae32a55f8b99a627047a521d0177 by Gilles Caulier. Committed on 03/06/2015 at 08:58. Pushed by cgilles into branch 'frameworks'. backport commit #6943606fa92404c296c23a8982df47339dc4164e from git/master to frameworks branch Related: bug 348105 M +123 -1 libs/tags/tagsmanager/tagsmanager.cpp M +4 -0 libs/tags/tagsmanager/tagsmanager.h http://commits.kde.org/digikam/727514c264edae32a55f8b99a627047a521d0177 |