Bug 376640 - Changing tag name does not update sidecar metadata
Summary: Changing tag name does not update sidecar metadata
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Sidecar (show other bugs)
Version: 5.5.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-18 22:13 UTC by Bill Goodman
Modified: 2020-01-19 09:51 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bill Goodman 2017-02-18 22:13:10 UTC
When I add a tag to an image, the sidecar file is updated as expected. However, if I change the name of a tag which has already been applied to an image, the sidecar file is not updated.

Settings
Use lazy synchronization = OFF
Read from sidecar files = ON
Write to sidecar files = ON (Write to XMP sidecar only)

Select an image in thumbnail view.
Create a new tag "tag1".
Click Apply.
Exit DigiKam.
Verify sidecar file includes "tag1".
Start DigiKam.
Select same image.
Right click "tag1" and choose "Properties".
Change Title to "tag2".
Click Apply. (thumbnail shows tag2)
Exit DigiKam.
Sidecar still contains "tag1".

If you do "Album>Write Metadata to Images", the sidecar will update to include "tag2" as expected.
Comment 1 Bill Goodman 2017-02-18 22:23:09 UTC
An additional problem which may be related. If you use the tag manager to delete a tag which is assigned to some images, the tag is removed from the images in the database, but the sidecar files are not updated with this change (i.e. the sidecar still has the deleted tag).
Comment 2 Maik Qualmann 2017-02-19 09:10:50 UTC

*** This bug has been marked as a duplicate of bug 370245 ***
Comment 3 caulier.gilles 2020-01-19 09:51:19 UTC
Fixed with bug #370245