[digikam] [Bug 366528] New: Rating=4 automatically added to XMP sidecar when saving metadata

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

[digikam] [Bug 366528] New: Rating=4 automatically added to XMP sidecar when saving metadata

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

            Bug ID: 366528
           Summary: Rating=4 automatically added to XMP sidecar when
                    saving metadata
           Product: digikam
           Version: 5.0.0
          Platform: MS Windows
                OS: MS Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Metadata-Sidecar
          Assignee: [hidden email]
          Reporter: [hidden email]

Images automatically get a rating = 4 written to the XMP sidecar. This rating
then appears in DigiKam when rereading metadata from image and overwrites
whatever rating was initially set.

Tested using raw (NEF) files, DNG files and JPG files: same behavior for all
files.

Metadata settings:
- Write this information to the metadata: all boxes selected except for face
tags
- Lazy synchronization: checked
- Read from sidecar files: checked
- Write to sidecar files: checked, write to XMP sidecar only
- If possible write metadata to raw: unchecked
- Update file timestamp: checked
- Rescan file when files are modified: unchecked

Reproducible: Always

Steps to Reproduce:
1. Start DigiKam
2. Drop a new picture (with no rating) in one of the album folders
3. Add any rating to the picture (or leave without rating)
4. Select Item > Write metadata to image
5. Select Item > Reread metadata from image

Actual Results:  
The picture now has a rating of 4 stars in DigiKam.

Expected Results:  
The picture should keep the rating initially set in DigiKam.

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 366528] Rating=4 automatically added to XMP sidecar when saving metadata

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

Maik Qualmann <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #1 from Maik Qualmann <[hidden email]> ---
This problem is not to reproduce with my NEF files here under Linux and
Windows. Can you provide a test image?

Maik

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 366528] Rating=4 automatically added to XMP sidecar when saving metadata

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=366528

--- Comment #2 from [hidden email] ---
OK, I did some more testing. The problem seems to appear only when the
'IPTC:By-line' tag is set in the image metadata (I set this tag using Exiftool
in my workflow before loading the image into DigiKam).
I also tested with a couple other tags from the IPTC ApplicationRecord group
with the same results (IPTC:Source for instance).

You'll find a test NEF image with the By-line tag set to 'Test' here:
https://www.dropbox.com/sh/3iven4s0jamu5m5/AAC_6Of-XkPQu4krf2FpLSSNa?dl=0

DigiKam displays a rating of 4 for this image as soon as I drop it into one of
my albums. So the bug does not seem to be strictly related to XMP sidecars as I
first thought, even though for some images (but not all) the behavior only
appears after I have saved the metadata to a XMP sidecar first and then reread
it into DigiKam.

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 366528] Rating=4 automatically added to XMP sidecar when saving metadata

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=366528

--- Comment #3 from Maik Qualmann <[hidden email]> ---
I locate the problem in Exiv2. If you use the command line:

exiv2 -eX 20160806-105555-NIKON-D300S.nef

Then is in the created sidecar file also the Rating=4. I think it is related to
the tag Iptc.Application2.RecordVersion=4 in the image. Please reports the
problem with the test image to the Exiv2 team.

Maik

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 366528] Rating=4 automatically added to XMP sidecar when saving metadata

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=366528

--- Comment #4 from [hidden email] ---
Thanks for the feedback. I have reported the bug to the Exiv2 team.

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 366528] Rating=4 automatically added to XMP sidecar when saving metadata

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=366528

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |UPSTREAM

--- Comment #5 from [hidden email] ---
Thanks Maik to find the problem. I close this file as UPSTREAM.

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 366528] Rating=4 automatically added to XMP sidecar when saving metadata

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=366528

--- Comment #6 from [hidden email] ---
Report in Exiv2 :

http://dev.exiv2.org/issues/1201

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