Bug 376640

Summary: Changing tag name does not update sidecar metadata
Product: [Applications] digikam Reporter: Bill Goodman <bg+kdex>
Component: Metadata-SidecarAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version: 5.5.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 7.0.0

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