Bug 506669

Summary: Preview of certain SVG in wrong dimensions
Product: [Applications] dolphin Reporter: Tobias Zwick <newton>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: minor CC: dolphin-bugs-null
Priority: NOR    
Version First Reported In: 25.04.2   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot of Dolphin window showing some incorrectly sized icons
A SVG file that doesn't display correctly in Preview

Description Tobias Zwick 2025-07-06 11:39:21 UTC
Created attachment 183004 [details]
Screenshot of Dolphin window showing some incorrectly sized icons

SUMMARY
The preview of certain SVG files is sized incorrectly

STEPS TO REPRODUCE
1. Observe the attached SVG file in Dolphin

OBSERVED RESULT
The SVG preview is square

EXPECTED RESULT
The SVG preview is sized according to the SVG's viewBox.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.2
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1

ADDITIONAL INFORMATION
In case you want to clone/download this directory for reproduction, it is here:
https://github.com/streetcomplete/StreetComplete/tree/master/res/graphics/lanes
Comment 1 Tobias Zwick 2025-07-06 11:40:05 UTC
Created attachment 183005 [details]
A SVG file that doesn't display correctly in Preview