Bug 469831 - Usage of Qt SVG renderer causes some SVGs to be rendered incorrectly in Koko
Summary: Usage of Qt SVG renderer causes some SVGs to be rendered incorrectly in Koko
Status: CONFIRMED
Alias: None
Product: Koko
Classification: Applications
Component: General (show other bugs)
Version: 23.04.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-16 02:28 UTC by cheatumj
Modified: 2024-01-13 17:33 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
The file that is rendered incorrectly (5.15 KB, image/svg+xml)
2023-05-16 02:28 UTC, cheatumj
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cheatumj 2023-05-16 02:28:42 UTC
Created attachment 158986 [details]
The file that is rendered incorrectly

SUMMARY
A certain SVG file that I have is rendered incorrectly in Koko. This does not appear to happen for other SVG files I have tested.

STEPS TO REPRODUCE
1. Open the attached shield.svg file in Koko.

OBSERVED RESULT
How the image appears in Koko: https://ibb.co/pjMJ57g
Zoomed out: https://ibb.co/JQW56fz

EXPECTED RESULT
The image as rendered correctly by Firefox: https://ibb.co/3RhSmf5

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2023-05-16 14:14:31 UTC
It's a general problem with the Qt SVG library that we use. See Bug 336436 and Bug 448234.

In this specific case, it looks like it's related to lack of clipping support in that SVG rendering library, which I believe is being worked on for Qt 6.