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: CONFIRMED ---    
Severity: normal CC: 4wy78uwh, akselmo, dolphin-bugs-null, kde.lwzr1, newton
Priority: NOR    
Version First Reported In: 24.08.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented 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
Comment 4 aristsakas 2025-12-25 22:07:40 UTC
*** Bug 494170 has been marked as a duplicate of this bug. ***
Comment 5 aristsakas 2025-12-25 22:07:52 UTC
*** Bug 506669 has been marked as a duplicate of this bug. ***
Comment 6 Akseli Lahtinen 2026-02-16 11:58:36 UTC
Can confirm

Operating System: KDE Linux 2026-02-16
KDE Plasma Version: 6.6.80
KDE Frameworks Version: 6.24.0
Qt Version: 6.10.2
Kernel Version: 6.18.9-zen1-2-zen (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 16 GiB of RAM (15.5 GiB usable)
Graphics Processor: AMD Radeon RX 6600