Bug 422054 - Add support for thumbnail/preview images for Microsoft Office files
Summary: Add support for thumbnail/preview images for Microsoft Office files
Status: RESOLVED WORKSFORME
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: Thumbnails and previews (show other bugs)
Version: 20.04
Platform: Manjaro Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-25 15:07 UTC by johnthor
Modified: 2020-05-26 16:18 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
MS Office file is not shown but LibreOffice file is shown (699.48 KB, image/png)
2020-05-25 23:38 UTC, johnthor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description johnthor 2020-05-25 15:07:33 UTC
Is it possible to add support for thumbnail/preview for MS Office file such as docx, .xlsx, .ppt, etc?. I see that LibreOffice/OpenOffice file is supported, is it  because the software or file format is open source so it's possible to integrate ?

If this request feature not possible because MS Office or its file format not open source maybe since dolphin already support thumbnail and preview for PDF you can handle this feature by converting the MS Office file first (only first page if possible) and place it in tmp or cache folder and then display it for MS Office file thumbnail/preview ?
Comment 1 Nate Graham 2020-05-25 21:36:25 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.
Comment 2 johnthor 2020-05-25 23:38:50 UTC
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
Comment 3 johnthor 2020-05-25 23:41:44 UTC
(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
Comment 4 Nate Graham 2020-05-26 00:31:24 UTC
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!
Comment 5 Kai Uwe Broulik 2020-05-26 08:54:36 UTC
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)
Comment 7 Kai Uwe Broulik 2020-05-26 09:04:07 UTC
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 :/
Comment 8 Nate Graham 2020-05-26 16:18:33 UTC
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?