Bug 326997

Summary: Some DNG files seem not to be recognized as such
Product: [Applications] digikam Reporter: Romain Henriet <romain.pub>
Component: Thumbs-RAWAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 3.4.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 4.1.0
Attachments: Screenshots with different filters

Description Romain Henriet 2013-11-01 13:25:56 UTC
Created attachment 83268 [details]
Screenshots with different filters

When I try to filter using MIME type, some DNG photos are not considered to be raw files.
Examples (cf attachment): 
"No filter.jpg" : "130903_Camping!.dng" is shown if no filter is set
"No raw.jpg" : "130903_Camping!.dng" is shown too while "No raw" filter is active
"Dng only.jpg" : "130903_Camping!.dng" is hidden while other dng files are shown

A few files only are concerned by this bug, while most of dng photos are correctly recognized (all dngs come from the same camera : Pentax K-x).

Link to access to one dng file that is incorrectly filtered, and one that is correctly filtered :
http://dl.free.fr/edogGzFD1
Comment 1 caulier.gilles 2013-12-04 17:37:03 UTC
Which database you use ? SQLITE or MYSQL ?

Gilles Caulier
Comment 2 Romain Henriet 2013-12-04 19:57:58 UTC
I use SQLITE
Comment 3 caulier.gilles 2014-06-16 12:18:28 UTC
Not reproducible.

All DNG files from my huge collection are dropped on list when No RAW files filter is enabled...

I suspect a dysfunction from your Database file.

You you try to enable a new fresh collection with a new DB file to see if problem still reproducible ?

Gilles Caulier
Comment 4 Romain Henriet 2014-06-21 06:54:20 UTC
Well I can't reproduce this bug anymore, although I didn't create a new database...