https://bugs.kde.org/show_bug.cgi?id=412922

            Bug ID: 412922
           Summary: xmp:Label not created/changed if color label is
                    none/orange/grey/black/white
           Product: digikam
           Version: 6.4.0
          Platform: Other
                OS: MS Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Metadata-Xmp
          Assignee: digikam-bugs-n...@kde.org
          Reporter: flol...@mailbox.org
  Target Milestone: ---

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.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to