Bug 482312

Summary: Dolphin SVG thumbnail generation regressed
Product: [Applications] dolphin Reporter: andre.cbarros
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kfm-devel
Priority: NOR Keywords: qt6
Version First Reported In: 24.02.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description andre.cbarros 2024-03-03 14:28:20 UTC
SUMMARY
Dolphin svg thumbnail generation regressed due to Qt 6.6.2 changes.

STEPS TO REPRODUCE
1. If you have a folder with svg files and see generated previews with previous Dolphin version, copy the folder to some other place and watch the much worse svg thumbnails generated.

OBSERVED RESULT
Much worse svg thumbnails generated.

EXPECTED RESULT
Previews compatible with what previous Dolphin used to generate.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 24.02.0
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 5.115.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
I'm not expecting a precise thumbnail generation for complex svg files, this is outside of what Qt6 can provide, but some recent changes in Qt 6.6.2 broke the Dolphin generation of thumbnails.

Possible relevant changes: https://bugreports.qt.io/browse/QTBUG-120205