XMP Hierarchical tags are flattened to single string
Environment/Versions
- GIMP version: 2.10.24
- Package: Fedora 34 RPM
- Operating System: Linux
Description of the bug
GIMP flattens down hierarchical tags written in XmpSeq/XmpBag (output of exiv2 -pa, number is number of elements):
Original:
Xmp.digiKam.TagsList XmpSeq 3 Camera, Camera/Canon, Camera/Canon/DSLR
Xmp.MicrosoftPhoto.LastKeywordXMP XmpBag 3 Camera, Camera/Canon, Camera/Canon/DSLR
After export in GIMP:
Xmp.digiKam.TagsList XmpSeq 1 Camera, Camera/Canon, Camera/Canon/DSLR
Xmp.MicrosoftPhoto.LastKeywordXMP XmpBag 1 Camera, Camera/Canon, Camera/Canon/DSLR
Reproduction
Is the bug reproducible? Always
Reproduction steps:
I'm not 100% sure that this isn't actually a GExiv2 bug, though, please check and move appropriately. This is somewhat related to #6258 (closed) and causes shotwell#4941 (closed)
…
Expected result:
GIMP keeps lists of metadata as lists
Actual result:
GIMP flattens lists into list of single entries
Additional information
If you have a backtrace for a crash or a warning, paste it here.