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

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

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

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

            Bug ID: 308078
          Severity: normal
           Version: 2.9.0
          Priority: NOR
          Assignee: [hidden email]
           Summary: Caption in non-default language not saved to JPEG when
                    x-default is empty
    Classification: Unclassified
                OS: Linux
          Reporter: [hidden email]
          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.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

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

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

--- Comment #1 from Marcel Wiesweg <[hidden email]> ---
Setting the Exif comment (which is using only the x-default comment, and is
removed if only a specific language is added) failed although it should not

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

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

Marcel Wiesweg
In reply to this post by Milan Knizek
https://bugs.kde.org/show_bug.cgi?id=308078

Marcel Wiesweg <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |http://commits.kde.org/libk
                   |                            |exiv2/540a04b40389a82802f82
                   |                            |4e65e1038dd7b2b7e1e

--- Comment #2 from Marcel Wiesweg <[hidden email]> ---
Git commit 540a04b40389a82802f824e65e1038dd7b2b7e1e by Marcel Wiesweg.
Committed on 26/10/2012 at 12:38.
Pushed by mwiesweg into branch 'master'.

Do not forget to return true, and thus fail, when removing the exif comment.

M  +2    -1    libkexiv2/kexiv2exif.cpp

http://commits.kde.org/libkexiv2/540a04b40389a82802f824e65e1038dd7b2b7e1e

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

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

Gilles Caulier-4
In reply to this post by Milan Knizek
https://bugs.kde.org/show_bug.cgi?id=308078

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
   Version Fixed In|                            |3.0.0

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel