Bug 339341

Summary: SCAN : digiKam not showing format label for .KRA or .ORA files
Product: [Applications] digikam Reporter: Rafael <finstrodelapradera-foros>
Component: Database-ScanAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, finstrodelapradera-foros
Priority: NOR    
Version: 4.3.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 4.4.0
Sentry Crash Report:

Description Rafael 2014-09-23 21:40:48 UTC
In the album configuration I have activated "Show image (photo) format", and I have added .KRA and .ORA file extension to "Mimetypes" (image files). However, the format label is not showed for those format types.

Reproducible: Always

Steps to Reproduce:
1.Activate "Show image (photo) format" in the "Album configuration" of Digikam
2.Open an album with KRA or ORA files


Actual Results:  
Label is void for KRA and ORA files

Expected Results:  
Show the label KRA for .kra files and ORA for .ora files
Comment 1 caulier.gilles 2014-09-24 07:05:49 UTC
What do you mean by "format label" ? The type mime thumbnail overlay ?

Gilles Caulier
Comment 2 caulier.gilles 2014-09-24 08:47:30 UTC
Git commit 276831e5243db9854774f905e7c4071ab847491c by Gilles Caulier.
Committed on 24/09/2014 at 08:45.
Pushed by cgilles into branch 'master'.

To register new files in database, do not handle image formats with KMimeType which can return garbage/uncomplete information (fully reproducible with Raster images).
Return directly file name suffix instead.
FIXED-IN: 4.4.0

M  +87   -85   libs/database/imagescanner.cpp
M  +6    -6    libs/database/imagescanner.h

http://commits.kde.org/digikam/276831e5243db9854774f905e7c4071ab847491c