Summary: | Add support for thumbnail/preview images for Microsoft Office files | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kio-extras | Reporter: | johnthor <tebewab491> |
Component: | Thumbnails and previews | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED WORKSFORME | ||
Severity: | wishlist | CC: | kde, kfm-devel, nate |
Priority: | NOR | ||
Version: | 20.04 | ||
Target Milestone: | --- | ||
Platform: | Manjaro | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | MS Office file is not shown but LibreOffice file is shown |
Description
johnthor
2020-05-25 15:07:33 UTC
Already supported; you just need the kdegraphics-thumbnailers package installed and then MS office thumbnails will be available (you may also need to turn them on in Dolphin's settings, depending on how your distro is set up). If your distro does not install this package by default, please consider asking them to. Created attachment 128788 [details]
MS Office file is not shown but LibreOffice file is shown
mine didnt show MS Office file thumbnail/preview but LibreOffice file is shown. I already install kdegraphics-thumbnailers and checked all types in Dolphin setting
(In reply to Nate Graham from comment #1) > Already supported; you just need the kdegraphics-thumbnailers package > installed and then MS office thumbnails will be available (you may also need > to turn them on in Dolphin's settings, depending on how your distro is set > up). If your distro does not install this package by default, please > consider asking them to. refer to my attachment, so this is bug ?, I have kdegraphics-thumbnailers installed. 20.04.0-1 You're right. I could have sworn there was an MS office thumbnailer in there. But now that I check, I can see that my own MS Office files aren't getting thumbnailed either. Sorry for the misdiagnosis! The open document thumbnailer also does docx etc thumbnails. It merely reads a thumbnail image inside the file. If there isn't one, we can't show a preview. We don't have an Office renderer in the stack (Calligra does but not the default one in kio-extras) See the list of mime types https://invent.kde.org/network/kio-extras/-/blob/master/thumbnail/opendocumentthumbnail.desktop#L36 See the code https://invent.kde.org/network/kio-extras/-/blob/master/thumbnail/opendocumentcreator.cpp#L62 In doubt feel free to share a file that doesn't work and I can have a look. Maybe we missed something (different location of thumbnail, format change, different mime type) but I'm pretty sure it's just lacking a pre-rendered thumbnail file in the package :/ Ah yes, that's probably it. The office files I have which don't show a preview are more than 15 years old (apparently I haven't used MS office in ages), probably before they had embedded preview images. IIRC you had a patch to add preview generation support to this thumbnailer so people didn't have to have Calligra installed? What happened to that? |