SUMMARY XMP sidecars are created without xmp:Label. You can create it by using a color label in the set of (red, yellow, blue, green, purple). Both xmp:Label and digiKam:ColorLabel get changed when changing the color label in DigiKam (xmp:Label only for the above mentioned set), however, for all other values (none, orange, grey, black, white), the value does not get created and/or updated, even if it already exists. STEPS TO REPRODUCE 1. Open DigiKam 2. Import picture(s) 3. Write metadata for that picture in DigiKam 4. Check picture's sidecar file in text editor, see that there is no 'xmp:Label' 5. In DigiKam, change color label to "red", write metadata 6. Check picture's sidecar file in text editor, see that there now is 'xmp:Label="RED"' 7. In DigiKam, change color label to "none", write metadata 8. See 6. OBSERVED RESULT xmp:label gets changed only for red, yellow, blue, green, purple xmp:label does not get changed for none, orange, grey, black, white EXPECTED RESULT xmp:label gets changed for all colors (maybe "interpolate" for non-standard colors?) SOFTWARE/OS VERSIONS Windows: Win10 v1803, latest updates KDE Frameworks Version: 5.61.0 Qt Version: 5.13.1 DigiKam: digiKam-6.4.0-git-20191010T155337 ADDITIONAL INFORMATION None.
The tag xmp:Label is for LightRoom. And LightRoom only supports the colors: Blue, Green, Red, Yellow and Purple. Ok, if the color code does not fit, we will remove the tag. Maik
Git commit 8eef4d33da31b4314116b3f4b5f7150faafc57fb by Maik Qualmann. Committed on 13/10/2019 at 20:35. Pushed by mqualmann into branch 'master'. remove Xmp.xmp.Label if color not exist FIXED-IN: 6.4.0 M +2 -1 NEWS M +4 -0 core/libs/metadataengine/dmetadata/dmetadata_labels.cpp https://invent.kde.org/kde/digikam/commit/8eef4d33da31b4314116b3f4b5f7150faafc57fb