Bug 476676

Summary: Generate thumbnails for Microsoft Word format .docx and .doc files
Product: [Frameworks and Libraries] kio-extras Reporter: tomashnyk
Component: Thumbnails and previewsAssignee: Plasma Bugs List <plasma-bugs>
Status: REPORTED ---    
Severity: wishlist CC: john.kizer, kdebugtracker, kfm-devel, ugaugag
Priority: NOR    
Version First Reported In: 23.04.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot of the issue
A sample docx file that does not get a thumbnail

Description tomashnyk 2023-11-07 13:25:46 UTC
Created attachment 162927 [details]
Screenshot of the issue

SUMMARY
Thumbnails do not work for DOCX and DOC files (and possibly other Microsoft Office formats like xls files)
STEPS TO REPRODUCE
1.  Create a docx file (you can use the one attached) and put it into a folder in Dolphin.

OBSERVED RESULT
No thumbnail is generated.

EXPECTED RESULT
Thumbnail is generated. For Open Document formats, this already works thanks to a fix for bug https://bugs.kde.org/show_bug.cgi?id=375176

This commit:
https://commits.kde.org/kio-extras/6828ff113ac36d0cba7a0c7e2e4d0264c7156c2e

Linux/KDE Plasma:  5.27

(confirmed here: https://www.reddit.com/r/kde/comments/17ptiuc/docx_thumbnail_previews_in_doplhin_not_shown_but/ )
Comment 1 tomashnyk 2023-11-07 13:26:19 UTC
Created attachment 162928 [details]
A sample docx file that does not get a thumbnail
Comment 2 ugaugag 2025-05-31 09:14:45 UTC
I have kubuntu 25.04, and although odt files have a fine preview, docx files don't. Show in many cases I cannot recognize files if I won't open them in libreoffice. I read a comment by kbroulik, 2y ago saying that"We just extract the embedded Thumbnail.png in the DOCX/XLSX/PPTX. It seems Microsoft Office often doesn’t generate the file so we cannot display it.". So what's the situation now? Actually it is the only frequently used files that I cannot preview.