Bug 412374 - KRA (Krita) files thumbnails not rendered
Summary: KRA (Krita) files thumbnails not rendered
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Thumbs-IconView (show other bugs)
Version: 6.3.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-26 16:55 UTC by Rafael Linux User
Modified: 2020-08-02 11:34 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.1.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Linux User 2019-09-26 16:55:34 UTC
SUMMARY
Digikam 6.3 doesn't show .KRA thumbnails. Dolphin and Krusader does.

STEPS TO REPRODUCE
1. Create a KRA (Krita) image and save it in a folder that Digikam manages
2. Launch Digikam and open the previous folder

OBSERVED RESULT
Digikam shows no thumbnails for KRA files


EXPECTED RESULT
To show/render the KRA file thumbnail

SOFTWARE/OS VERSIONS
OpenSUSE 15.0 and 15.1
KDE Frameworks 5.45.0
Qt 5.9.4 (compilado con 5.9.4)
El sistema de ventanas xcb

ADDITIONAL INFORMATION
Please, fix it
Comment 1 caulier.gilles 2019-09-26 17:03:39 UTC
The KRA file are at least visible in icon view with a default icon ?

If not please add KRA in album type mime item supported. Look in Setup/Views/Type-Mimes section of DK configuration dialog.

Gilles Caulier
Comment 2 caulier.gilles 2019-09-26 17:20:07 UTC
Here KRA are not generated but ORA are fine in digiKam. I just generated both file with Krita.

Look like Dolphin do not generate thumbnails for KRA and ORA...

https://imgur.com/ZVmAIUz

Gilles Caulier
Comment 3 Rafael Linux User 2019-09-26 20:50:27 UTC
(In reply to caulier.gilles from comment #1)
> The KRA file are at least visible in icon view with a default icon ?

Yes, that is, icon is visible cause you included KRA in default mime types on latest versions of Digikam (thanks for that and for add SVG too).
Comment 4 Maik Qualmann 2019-09-26 20:56:31 UTC
KRA files work here under openSUSE Tumbleweed and the current developer version without problems. The KRA files are processed by the QImage loader.

Maik
Comment 5 Rafael Linux User 2019-09-26 21:00:39 UTC
OpenSUSE 15.1 (not rolling release)
https://fromsmash.com/JyilSKoV_0-c0
Comment 6 Rafael Linux User 2019-10-02 08:17:57 UTC
The same issue on OpenSUSE 15.0 (other PC and hardware)

https://fromsmash.com/fk3q.c_hVF-c0
Comment 7 Maik Qualmann 2019-10-02 10:23:11 UTC
I have openSUSE-15.1 in the company on my laptop. Yes, the native digikam-6.0.0 version does not work with KRA files. The current digiKam-6.4.0 AppImage has locale problems, but the thumbnail and the preview of KRA files are loaded. The problem is solved with digiKam-6.4.0.

Maik
Comment 8 caulier.gilles 2019-10-02 10:58:30 UTC
The reason why AppImage 6.4.0 work as expected is due to the update of KF5 at last stable version. This include KImageIO codecs with KRA support.

Gilles Caulier
Comment 9 Maik Qualmann 2019-10-02 11:35:09 UTC
This is clearly an openSUSE-15.1 issue. Dolphin does not show thumbnails of new KRA files. The thumbnails showing Dolphin are still in the XDG thumbnail cache. If you delete it, thumbnails will no longer be displayed.

Maik
Comment 10 Maik Qualmann 2019-10-02 11:38:55 UTC
Sorry, I was wrong. I had disabled preview of KRA files...

Maik
Comment 11 Rafael Linux User 2019-10-02 12:58:45 UTC
As I wrote, the same issue occurs in two distinct PC with different OpenSUSE versions. Previously to report this bug, despite I realized this issue after creating new KRA files, I even opened an older KRA file and saved it to force system to recreate the thumbnails, but same results: Dolphin and Krusader shows the thumbnail, but Digikam (from repositories or in AppImage format) doesn't show them.   ;)
Comment 12 caulier.gilles 2020-08-01 14:00:41 UTC
digiKam 7.0.0 stable release is now published and now available as FlatPak:

https://www.digikam.org/news/2020-07-19-7.0.0_release_announcement/

We need a fresh feedback on this file using this version.

Thanks in advance

Gilles Caulier
Comment 13 Rafael Linux User 2020-08-02 11:32:45 UTC
OpenSUSE 15.2
Digikam 7.0

Metadata is now correctly read (even image resolution).

Great work!!

Thank you
Comment 14 caulier.gilles 2020-08-02 11:34:35 UTC
Thanks for the feedback