Bug 443844 - The svg icon of zanshin is rendered incorrectly
Summary: The svg icon of zanshin is rendered incorrectly
Status: REPORTED
Alias: None
Product: zanshin
Classification: Applications
Component: general (show other bugs)
Version: 0.5.0
Platform: Other Linux
: NOR normal
Target Milestone: already done
Assignee: Kevin Ottens
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-16 15:12 UTC by Andrew Shark
Modified: 2023-03-10 22:33 UTC (History)
3 users (show)

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


Attachments
Screenshot of incorrect rendered icon (9.53 KB, image/png)
2021-10-16 15:12 UTC, Andrew Shark
Details
Screenshot of correct png icon (8.59 KB, image/png)
2021-10-16 15:13 UTC, Andrew Shark
Details

Note You need to log in before you can comment on or make changes to this bug.
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.