Bug 435250

Summary: No Photograph Properties for DNG files
Product: [Applications] digikam Reporter: andrej.valencic
Component: Metadata-RawAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version: 7.3.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 7.3.0
Attachments: Photo properties
EXIF metadata view

Description andrej.valencic 2021-04-02 07:14:13 UTC
Created attachment 137258 [details]
Photo properties

SUMMARY
Taking some RAW photos with my Oneplus 7T camera (DNG format) and DK does not show all data in Photograph Properties sidebar.

STEPS TO REPRODUCE
1. Take RAW photos
2. Transfer photos to PC
3. Check photos in DK - not all properties visible

OBSERVED RESULT
In DK for DNG photos only some of the properties are displayed: Make, Model and Created. All the others (Lens, Aperture, ...) are shown as "unknown". But if I check with the Metadata view I can see all the other info in the EXIF tab. Please see attached images for an example display.

EXPECTED RESULT
I would like to see the EXIF data in the Propersties part as well.

SOFTWARE/OS VERSIONS
Windows: 10 - all latest updates
digiKam 7.2.0
Build date: 22/03/2021 20:09 (target: RelWithDebInfo)
Rev.: e98a50e68f76f630a7d1ae22c716324b9d1987a7

KDE Frameworks 5.78.0
Qt 5.15.2 (built against 5.15.2)
The windows windowing system

ADDITIONAL INFORMATION
I've seen that the Makernote metadata is empty - is that where the Properties for the photo come from?
Comment 1 andrej.valencic 2021-04-02 07:14:41 UTC
Created attachment 137259 [details]
EXIF metadata view
Comment 2 caulier.gilles 2021-04-02 07:34:27 UTC
Can you share your DNG file using cloud storage to investigate ?

Gilles Caulier
Comment 3 Maik Qualmann 2021-04-02 07:34:43 UTC
With a test image here from the web, almost all of the information is available. Try a Menu-> Item-> Read Metadata from the image again.

Maik
Comment 4 andrej.valencic 2021-04-02 08:24:08 UTC
(In reply to caulier.gilles from comment #2)
> Can you share your DNG file using cloud storage to investigate ?
> 
> Gilles Caulier

Sure, here it is:
https://upload.disroot.org/r/Brf0zRRC#iRjdyp95s1yrUrVBjZFgsTCYqezJNo81PdJSof2+HMI=
Comment 5 andrej.valencic 2021-04-02 08:25:31 UTC
(In reply to Maik Qualmann from comment #3)
> With a test image here from the web, almost all of the information is
> available. Try a Menu-> Item-> Read Metadata from the image again.
> 
> Maik

I've done that and the result is the same.
Comment 6 caulier.gilles 2021-04-02 08:56:38 UTC
I tried here and problem still reproducible with digiKam 7.3.0 AppImage based on Exiv2 0.27.4

Gilles Caulier
Comment 7 Maik Qualmann 2021-04-02 09:20:41 UTC
Git commit ef35183a1051e9c3bee7ded7b90330a93a180a3b by Maik Qualmann.
Committed on 02/04/2021 at 09:19.
Pushed by mqualmann into branch 'master'.

read more photo infos from Exif.Image.*
FIXED-IN: 7.3.0

M  +2    -1    NEWS
M  +19   -3    core/libs/metadataengine/dmetadata/dmetadata_generic.cpp
M  +15   -0    core/libs/metadataengine/dmetadata/dmetadata_photo.cpp

https://invent.kde.org/graphics/digikam/commit/ef35183a1051e9c3bee7ded7b90330a93a180a3b
Comment 8 andrej.valencic 2021-04-02 09:22:03 UTC
(In reply to Maik Qualmann from comment #7)
> Git commit ef35183a1051e9c3bee7ded7b90330a93a180a3b by Maik Qualmann.
> Committed on 02/04/2021 at 09:19.
> Pushed by mqualmann into branch 'master'.
> 
> read more photo infos from Exif.Image.*
> FIXED-IN: 7.3.0
> 
> M  +2    -1    NEWS
> M  +19   -3    core/libs/metadataengine/dmetadata/dmetadata_generic.cpp
> M  +15   -0    core/libs/metadataengine/dmetadata/dmetadata_photo.cpp
> 
> https://invent.kde.org/graphics/digikam/commit/
> ef35183a1051e9c3bee7ded7b90330a93a180a3b

Great, thanks for quick resolve.

Andrej
Comment 9 Maik Qualmann 2021-04-02 09:31:49 UTC
When a new test version with this change is available, the metadata of the images in question will have to be read again.

Maik