Bug 494106 - SVG not keeping aspect ratio in preview
Summary: SVG not keeping aspect ratio in preview
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: panels: folders (show other bugs)
Version: 24.08.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-04 12:47 UTC by Thibault Molleman
Modified: 2024-10-04 12:51 UTC (History)
2 users (show)

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


Attachments
screenshot dolphin svg preview (17.40 KB, image/png)
2024-10-04 12:47 UTC, Thibault Molleman
Details
logo-dead.svg screenshot dolphin (20.19 KB, image/png)
2024-10-04 12:51 UTC, Thibault Molleman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thibault Molleman 2024-10-04 12:47:39 UTC
Created attachment 174405 [details]
screenshot dolphin svg preview

SUMMARY
This SVG file doesn't seem to render properly in Dolphin's image preview. The aspect ratio is not right.

STEPS TO REPRODUCE
1.  Download this svg into a folder  https://gitlab.com/panoramax/server/website/-/raw/develop/src/assets/images/uploading-person.svg?inline=false
2. View the folder

OBSERVED RESULT
Aspect ratio is not correct, it's squushed 


EXPECTED RESULT
The aspect ratio to be kept

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Thibault Molleman 2024-10-04 12:49:14 UTC
similar problem with this svg: https://gitlab.com/panoramax/clients/web-viewer/-/raw/develop/src/img/arrow_turn.svg?inline=false
Comment 2 Thibault Molleman 2024-10-04 12:51:15 UTC
and this one is .... also not right. wonder if it's related: https://gitlab.com/panoramax/clients/web-viewer/-/raw/develop/src/img/logo_dead.svg?inline=false

this one seems to have a weird thing at the top, something i'm not seeing in browsers. see attachment
Comment 3 Thibault Molleman 2024-10-04 12:51:50 UTC
Created attachment 174406 [details]
logo-dead.svg screenshot dolphin