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

            Bug ID: 441500
           Summary: Negative XMP ratings show as 1
           Product: digikam
           Version: 7.3.0
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Tags-Rating
          Assignee: digikam-bugs-n...@kde.org
          Reporter: kdeb...@stuff.ef.lc
  Target Milestone: ---

When Digikam reads a file with a negative rating in its EXIF/XMP, it treats the
rating as a "1" rating.

Darktable marks rejected images with a rating of -1, so I would like Digikam to
be compatible.


STEPS TO REPRODUCE
1. Import a file with a negative rating in XMP/EXIF
2. View item Properties in Digikam
3. Filter an album in Digikam with rating 0 selected and "less than or equal
to" for the filter criterion

OBSERVED RESULT
2. Rating shows a single star icon
3. No images are shown


EXPECTED RESULT
2. Rating shows -1
3. Images are shown


SOFTWARE/OS VERSIONS
Windows: ?
macOS: ?
Linux/KDE Plasma: Not installed?
(available in About System)
KDE Plasma Version: Not installed?
KDE Frameworks Version: 5.85.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION

- The XMP sidecar shows: xmp:Rating="-1"
- Darktable's behaviour is consistent with the XMP specification:

  "A user-assigned rating for this file. The value shall be -1 or in the range
[0..5], where -1 indicates “rejected” and 0 indicates “unrated”. If xmp:Rating
is not present, a value of 0 should be assumed.
  "NOTE Anticipated usage is for a typical “star rating” UI, with the addition
of
a notion of rejection."

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

Reply via email to