Bug 356227 - Dolphin in plasma 5 doesn't have thumbnails for .kra and .ora files
Summary: Dolphin in plasma 5 doesn't have thumbnails for .kra and .ora files
Status: RESOLVED FIXED
Alias: None
Product: kio
Classification: Unmaintained
Component: thumbnail (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-03 05:50 UTC by Raghavendra kamath
Modified: 2016-01-10 13:45 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Raghavendra kamath 2015-12-03 05:50:05 UTC
Hello,

Hi I am running plasma 5 on arch, I am an artist and my work involves many .KRA, .PSD and .ORA files and it becomes hard to browse files without preview as they sometimes have identical names. I would be great to have thumbnails for these file types in dolphin.

If this helps the kra file type is just a zip file and has a merged image png and a preview png inside it .

thank you

Reproducible: Always
Comment 1 Christoph Feck 2015-12-04 22:45:38 UTC
Until Krita KF5 port is released, you can try http://kde-apps.org/content/show.php/?content=174485
Comment 2 Raghavendra kamath 2015-12-05 02:09:10 UTC
Thank you for the script, I'll use it as a work around untill krita is ported, 
If this Information matters - I have built Krita kf5 port ( krita - git) but it doesn't give the option to get kra thumbnails.
The file krita_kra_thumbnail.desktop doesn't get copied over to /usr/share/kservices5, is there anything else to do to get it there.

Also what about .psd files any solution for that. 
A few days back a developer tried to get psd thumbnails with this - https://git.reviewboard.kde.org/r/125790/ , but it was not fruitful, are there any plans for this.
Comment 3 Rog131 2016-01-03 19:37:31 UTC
(In reply to Raghavendra kamath from comment #2)

> Also what about .psd files any solution for that. 
> A few days back a developer tried to get psd thumbnails with this -
> https://git.reviewboard.kde.org/r/125790/ , but it was not fruitful, are
> there any plans for this.

It seems, that the PSD thumbnailer is broken - https://git.reviewboard.kde.org/r/125790/ - Testing done comment: "I still don't get any thumbnails for PSD files, though.". 

The thumbnailer is part of kio-extras. Testig at there with Arch/kio-extras 15.12.0-1:

- the PSD thumbnailing is not working
- I can use the 'keneric' thumbnailer to thumbnail the PSD files.

Maybe a  bug report against the kio-extras helps ?

A workaround, working at here, disabling the PSD thumbnailing from the 'Images' thumbnailer and adding an option to thumbnail with the 'keneric': http://i.imgur.com/083hqu9.png
Comment 4 Raghavendra kamath 2016-01-04 04:37:44 UTC
Hello Rog131

sorry I didn't understand your suggestion,
should I file a different bug report in Kio- extra?

How do I get the 'keneric' options?
Comment 5 Rog131 2016-01-04 10:59:22 UTC
(In reply to Raghavendra kamath from comment #4)
> Hello Rog131
> 
> sorry I didn't understand your suggestion,
> should I file a different bug report in Kio- extra?
> 
> How do I get the 'keneric' options?

Yes, I think that there has been two bugs:

1) Recognize image/vnd.adobe.photoshop
This has been fixed with the https://git.reviewboard.kde.org/r/125790/

2) Thumbnailing of the PSD pictures.
The 'imagethumbnail' is part of the kio-extras and it is not working.


About the 'Keneric'. It is not part of the KDE so I add the 'What I did' to the KDE Forums:  https://forum.kde.org/viewtopic.php?f=223&t=129633
Comment 6 Raghavendra kamath 2016-01-08 09:11:56 UTC
Boudewijn Rempt, has upstreamed the krita and ora thumbnailers , you can see the review request here -> https://git.reviewboard.kde.org/r/126674/ and here-> https://git.reviewboard.kde.org/r/126675/
Comment 7 Soukyuu 2016-01-09 10:42:39 UTC
For me, neither thumbnails nor opening with gwenview works with .psd files. Is the mentioned fix for psd images already in 15.12? Am on arch linux x64
Comment 8 Raghavendra kamath 2016-01-09 10:53:08 UTC
the psd thumbnailing issue has a fix and it is in review, hopefully it gets approved and shipped with next version , here is the review https://git.reviewboard.kde.org/r/126684/
Comment 9 Wolfgang Bauer 2016-01-09 11:13:50 UTC
(In reply to Soukyuu from comment #7)
> For me, neither thumbnails nor opening with gwenview works with .psd files.

Yes, it's a general problem with kimageformats' PSD loader.
See Bug#354413.

As mentioned in comment#8, I uploaded a fix for review today.

> Is the mentioned fix for psd images already in 15.12? Am on arch linux x64
No.
All 3 thumbnailers are not part of KDE Applications at the moment.

The .kra and .ora thumbnailers might get moved there as indicated in comment#6, but they aren't yet and this definitely won't happen in a bugfix release I suppose, so 16.04.0 at the earliest.

.psd thumbnails are actually handled by the general image thumbnailer, part of kio-core. It uses the Qt5 image plugins from kimageformats (a Framework) for generating the thumbnails.
But again, AFAICT the thumbnailer works fine, it's the loading of .psd files that's generally broken in KF5 at the moment. With my patch, it works fine here.

If you mean https://git.reviewboard.kde.org/r/125790/, this is included in kimageformats since Frameworks 5.16.0.
Comment 10 Wolfgang Bauer 2016-01-09 11:18:14 UTC
(In reply to Wolfgang Bauer from comment #9)
> .psd thumbnails are actually handled by the general image thumbnailer, part
> of kio-core.
Oops, sorry.
The general image thumbnailer is of course part of kio-extras, as mentioned by rog131.

But it works fine AFAICT, and doesn't need to be fixed.
Comment 11 Wolfgang Bauer 2016-01-09 11:26:22 UTC
PS: I think we should reduce this bug report to .kra and .ora files, for which a thumbnailer is only available in Krita at the moment, which hasn't been released as KF5 version yet.

The problem with .psd files is handled in Bug#354413 anyway.
Comment 12 Raghavendra kamath 2016-01-10 13:45:23 UTC
boud has submitted the thumbnailers upstream in kio-extras so I think we can close this bug, and according to Wolfgang Bauer ( forum post) it may be in kde-applications 16.04

you can view bouds commit here -> https://quickgit.kde.org/?p=kio-extras.git&a=commit&h=af884a8decd75b1f92ea8b9322c103e2dba60329