Bug 503319 - Thumbnailer hangs on .3mf files
Summary: Thumbnailer hangs on .3mf files
Status: RESOLVED FIXED
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: Thumbnails and previews (other bugs)
Version First Reported In: 25.04.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 503803 (view as bug list)
Depends on:
Blocks:
 
Reported: 2025-04-25 02:41 UTC by Griffin
Modified: 2025-08-03 10:04 UTC (History)
1 user (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 Griffin 2025-04-25 02:41:13 UTC
SUMMARY

Thumbnailer gets stuck trying to read 3D printer 3mf models and consumes 100% of a cpu core. Hung process might need killed, terminate isn't enough. Closing the Dolphin tab or window inconsistently solves it. Disabling "Office Documents" previews solves it.

STEPS TO REPRODUCE
1. Download a 3mf model
2. Enable "Office Document" previews if disabled
3. Navigate to your downloaded file

OBSERVED RESULT
Thumbnails stop being generated everywhere, cpu usage spikes, hovering 3mf files freezes Dolphin.

EXPECTED RESULT
Thumbnail either succeeds or fails to generate and moves onto other files.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Garuda Linux 6.14.3-zen
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.9.0

ADDITIONAL INFORMATION
I checked the source code for thumbnailer file types and I don't see any recent changes that should have done this, so it could be caused by something else. Also why is 3mf under Office Documents, shouldn't it be in Blender files?
https://invent.kde.org/network/kio-extras/-/blob/master/thumbnail/opendocumentthumbnail.json
Comment 1 John Kizer 2025-05-09 06:03:10 UTC
*** Bug 503803 has been marked as a duplicate of this bug. ***
Comment 2 fx 2025-05-16 15:23:18 UTC
I have disabled all thumbnails, but Dolphin is still getting unresponsive for 10s to 60s when selecting a 3MF File. 

When I disable "Informationen zum Element beim Überfahren anzeigen" in settings "Ansicht", Dolphin runs wihout problems.

When I enable "Informationen zum Element beim Überfahren anzeigen" again, Dolphin will get stuck again and i have this error in Konsole:

QProcess: Destroyed while process ("/usr/bin/baloo_filemetadata_temp_extractor") is still running.
org.kde.baloo.widgets: Extractor crashed when processing QList("/home/fx/Schreibtisch/_3Druck/Rudi-Wohnmobil-Türstopper/Part Studio 1.3mf")

Sorry for german.
Comment 3 Griffin 2025-07-03 18:14:14 UTC
This appears to have been fixed in one of the recent updates, but I'm going to wait for confirmation from others before marking it resolved (and would like confirmation of which version fixed it). I turned Office Document previews back on, can view and hover 3mf files without issue. Thumbnailer got stuck on something else last night but I can't reproduce it and it absolutely didn't involve a 3mf.

Garuda Linux 6.15.4-zen2-1-zen
KDE Plasma 6.4.2
kio-extras 25.04.2-2
KDE Frameworks 6.15.0
Qt 6.9.1-2
Comment 4 fx 2025-07-03 18:37:27 UTC
I've just tested it.
Same here, no more problems.

OS: Manjaro Linux x86_64
Kernel: Linux 6.15.3-1-MANJARO
Uptime: 7 mins
Packages: 1413 (pacman)[stable], 77 (flatpak-system), 6 (flatpak-user)
Shell: zsh 5.9
Display (DP-1): 5120x1440 @ 60 Hz in 49" [External]
DE: KDE Plasma 6.3.5
WM: KWin (Wayland)
WM Theme: Breeze
Theme: Breeze (BreathDark) [Qt], Breeze-Dark [GTK2], Breeze [GTK3]
Icons: breeze-dark [Qt], breeze-dark [GTK2/3/4]
Font: Noto Sans (10pt) [Qt], Noto Sans (10pt) [GTK2/3/4]
Cursor: breeze (42px)
Terminal: konsole 25.4.2
Terminal Font: Hack Nerd Font Mono (11pt)
CPU: AMD Ryzen 7 5800X3D (16) @ 3.40 GHz
GPU: AMD Radeon RX 7900 XTX [Discrete]
Memory: 3.42 GiB / 31.25 GiB (11%)
Swap: 0 B / 512.00 MiB (0%)
Disk (/): 378.89 GiB / 1.79 TiB (21%) - ext4
Local IP (enp6s0): 192.168.8.5/24
Locale: de_DE.UTF-8
Comment 5 Griffin 2025-08-03 10:04:46 UTC
No further reports or regressions. Marking this as resolved.