Bug 443844

Summary: The svg icon of zanshin is rendered incorrectly
Product: [Applications] zanshin Reporter: Andrew Shark <ashark>
Component: generalAssignee: Kevin Ottens <ervin>
Status: REPORTED ---    
Severity: normal CC: ak2022dev, mbensi, poudinkpopinski
Priority: NOR    
Version First Reported In: 0.5.0   
Target Milestone: already done   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot of incorrect rendered icon
Screenshot of correct png icon

Description Andrew Shark 2021-10-16 15:12:03 UTC
In kde when you see the application's icon in task manager/window icon, it is rendered with strange black rectangle covering almost all the icon. See attached screenshot. But pre-rendered png are normal.

Probably the SVG was created without the restrictions of the Qt SVG renderer in mind. It only supports a limited subset of the full SVG spec.

Can that svg be changed to work with the Qt icon SVG renderer?

STEPS TO REPRODUCE
1. Open application
2. See the icon of the window

OBSERVED RESULT
It is rendered with black rectangle.

EXPECTED RESULT
It should be rendered normally.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.22.90
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Comment 1 Andrew Shark 2021-10-16 15:12:53 UTC
Created attachment 142511 [details]
Screenshot of incorrect rendered icon
Comment 2 Andrew Shark 2021-10-16 15:13:39 UTC
Created attachment 142512 [details]
Screenshot of correct png icon
Comment 3 Andrew Shark 2021-10-16 15:16:36 UTC
By the way, the bug could be observed even on the application page screenshot here: https://apps.kde.org/zanshin/
Comment 4 Amir Khan 2022-03-28 19:14:49 UTC
The rendering is also incorrect when the app is searched for in Discover on KDE Neon (most current developer build as of today 28 March 2022).
Comment 5 poudinkpopinski 2023-03-10 22:33:26 UTC
This is a Breeze problem, not a Zanshin problem. The SVG packaged with Zanshin render correctly, but the one packaged in the Breeze icon theme doesn't.