Bug 492828

Summary: Rating of jpg file not displayed correctly in the user interface
Product: [Applications] digikam Reporter: Daniel Adams <dadams>
Component: Metadata-ExifAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: metzpinguin
Priority: NOR    
Version First Reported In: 8.4.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
URL: https://www.dropbox.com/scl/fo/lq0e6mqjj4nuy1qmrefn7/AKfSNw3AM1t6bO0O0HeJdos?rlkey=xc4a77x3wd8efy931ur6oe0cu&dl=0
Latest Commit: Version Fixed/Implemented In: 8.5.0
Sentry Crash Report:

Description Daniel Adams 2024-09-08 17:52:36 UTC
SUMMARY

The (star) rating of the attached jpg file is corrently read by the program. Nevertheless, the "windows rating" is not indicated through 3 out of 5 stars in the user interface (as overlay of the thumbnail). Other files work fine. Even the RAW file from which this jpg is generated works correctly.

STEPS TO REPRODUCE
1. Open the file
2. Watch the rating (the overlay of the thumbnail of the picture)

OBSERVED RESULT

Rating not displayed as expected

EXPECTED RESULT

Rating (3 out of 5 stars) dis displayed

SOFTWARE/OS VERSIONS
Windows: 11, latest updates

ADDITIONAL INFORMATION

The rating in the RAW file (Fujifilm raf) was created through digiCam 8.4.
Comment 1 Daniel Adams 2024-09-08 17:56:08 UTC
The jpg was generated by DxO Photolab Elite v. 6.18
Comment 2 Maik Qualmann 2024-09-08 17:57:50 UTC
Fixed in digiKam-8.5.0.

Download pre-release version of digiKam-8.5.0 from here:

https://files.kde.org/digikam/

Maik
Comment 3 Maik Qualmann 2024-09-08 18:02:42 UTC
Note, for the images already imported, the metadata must be read from the image again.

Maik
Comment 4 Daniel Adams 2024-09-08 19:25:07 UTC
Reloading the metadata resolves the issue. It is strange/unexpected, though, because the jpg file was new, although in the same folder and with the same file name as the pef RAW file.
Comment 5 Maik Qualmann 2024-09-08 19:30:21 UTC
There is a bug in digiKam-8.4.0 that the rating is not correctly imported into the database during the first scan. Yes, a re-read of the metadata helps. But only digiKam-8.5.0 fixes the problem - use it.

Maik