f3d icon indicating copy to clipboard operation
f3d copied to clipboard

Support Thumbnails in KDE (Dolphin)

Open geowarin opened this issue 1 year ago • 10 comments
trafficstars

Is your feature request related to a problem? Please describe.

F3D gorgeous thumbnails do not show on KDE. KDE appears to have a custom protocol (ie does not support standard thumbnailers).

See: https://discuss.kde.org/t/3d-file-thumbnailer/4173

Describe the solution you'd like

Write a plugin to supports thumbnails in KDE.

After a quick inspection, a simple KDE thumbnailer is not too complex.

For instance the blend file thumbnailer is composed of 3 files.

Describe alternatives you've considered

Using another file manager :cry:

Contribution

I have no experience in KDE development but if F3D is interested in supporting this features I could probably lend a hand!

geowarin avatar Feb 06 '24 23:02 geowarin

That looks surprisingly simple. We should be able to rely on f3d::window::renderToImage and convert the result to the QByteArray.

Meakk avatar Feb 07 '24 06:02 Meakk

That'd be nice, but can we ship it ?

In any case, we can create this plugin In Another repo and rely on packager to ship it.

We can even put it in F3D but not enable it in the binary release.

mwestphal avatar Feb 07 '24 06:02 mwestphal

For reference, Arch package containing the thumbnailers : https://archlinux.org/packages/extra/x86_64/kdegraphics-thumbnailers/
There is a dependency on ghostscript for example to generate thumbnails for .ps files.
Should we contribute directly there?

Meakk avatar Feb 07 '24 07:02 Meakk

Hum, that is an interesting approach. here is the source code: https://invent.kde.org/graphics/kdegraphics-thumbnailers

We would need to discuss with the maintainers of this project

mwestphal avatar Feb 07 '24 08:02 mwestphal

https://www.linkedin.com/in/nicolas-fella-460565161/

https://www.linkedin.com/in/lmontel/

mwestphal avatar Feb 07 '24 08:02 mwestphal

No success via LinkedIn, I sent a mail.

mwestphal avatar Apr 04 '24 17:04 mwestphal

No success via LinkedIn, I sent a mail.

Any updates on this?

adro79 avatar Jun 21 '24 10:06 adro79

I'm afraid I heard nothing back at all.

mwestphal avatar Jun 21 '24 12:06 mwestphal

I've posted there: https://discuss.kde.org/t/trying-to-reach-kdegraphics-thumbnailers-developer/17471

mwestphal avatar Jun 21 '24 12:06 mwestphal

Finally got a clear answer from a dev here: https://invent.kde.org/graphics/kdegraphics-thumbnailers/-/issues/1

TLDR: KDE will move to standard thumbnailer mechanism, as all other file managers.

mwestphal avatar Jun 27 '24 05:06 mwestphal

The mechanism has been implemented and is supposed to arrive with KDE Frameworks 6.6 in September.^1

Doroszewski avatar Aug 10 '24 16:08 Doroszewski

nice! Then installing F3D should be enough to get thumbnails with KDE!

mwestphal avatar Aug 10 '24 17:08 mwestphal