Bug 506669 - Preview of certain SVG in wrong dimensions
Summary: Preview of certain SVG in wrong dimensions
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (other bugs)
Version First Reported In: 25.04.2
Platform: Fedora RPMs Linux
: NOR minor
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-06 11:39 UTC by Tobias Zwick
Modified: 2025-07-06 11:40 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot of Dolphin window showing some incorrectly sized icons (163.12 KB, image/png)
2025-07-06 11:39 UTC, Tobias Zwick
Details
A SVG file that doesn't display correctly in Preview (2.46 KB, image/svg+xml)
2025-07-06 11:40 UTC, Tobias Zwick
Details

Note You need to log in before you can comment on or make changes to this bug.
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