Bug 339341 - SCAN : digiKam not showing format label for .KRA or .ORA files
Summary: SCAN : digiKam not showing format label for .KRA or .ORA files
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Scan (show other bugs)
Version: 4.3.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-23 21:40 UTC by Rafael
Modified: 2017-07-25 10:50 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.4.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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