Bug 494106

Summary: SVG not keeping aspect ratio in preview
Product: [Applications] dolphin Reporter: Thibault Molleman <kde.lwzr1>
Component: panels: foldersAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: dolphin-bugs-null, kde.lwzr1
Priority: NOR    
Version First Reported In: 24.08.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: screenshot dolphin svg preview
logo-dead.svg screenshot dolphin

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