[Digikam-devel] [Bug 308078] New: Caption in non-default language not saved to JPEG when x-default is empty

Milan Knizek knizek at volny.cz
Mon Oct 8 15:55:42 BST 2012


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

            Bug ID: 308078
          Severity: normal
           Version: 2.9.0
          Priority: NOR
          Assignee: digikam-devel at kde.org
           Summary: Caption in non-default language not saved to JPEG when
                    x-default is empty
    Classification: Unclassified
                OS: Linux
          Reporter: knizek at volny.cz
          Hardware: Archlinux Packages
            Status: UNCONFIRMED
         Component: Metadata
           Product: digikam

When adding caption (description) to images in other languages than x-default,
then these captions are not saved to image (JPEG). However, once a caption for
the x-default language is added, _all_ the existing language variants of the
caption are saved to the file.

Reproducible: Always

Steps to Reproduce:
1. Use a new message w/o any metadata. Make user saving of metadata to images
is allowed.
2. Choose af-ZA language for Caption. Type in some caption. Click apply.
3. Switch to CLI and run `exiv2 -pa image.jpg  | grep -E
"Xmp.dc.description|Xmp.digiKam.CaptionsAuthorNames|Xmp.digiKam.CaptionsDateTimeStamps"`
4. Note that only (!) data in the latter two keys will exist.
5. In digiKam, add some caption to "x-default" language and Apply.
6. Switch to CLI and run the exiv2 command again.
7. This time, Xmp.dc.description has some values for both af-ZA and x-default
languages.
Actual Results:  
Without some text in x-default language of Caption (Description), no
description is saved to image.

Expected Results:  
Description should be saved to image no matter which languages are used.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list