Bug 467151 - SVG icon rendering does not apply blur or masks
Summary: SVG icon rendering does not apply blur or masks
Status: RESOLVED DUPLICATE of bug 448234
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.26.5
Platform: Manjaro Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-10 12:03 UTC by Néstor Andreu
Modified: 2023-03-13 19:52 UTC (History)
2 users (show)

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


Attachments
Comparison between how Plasma shows icons (the two from which the arrows part: document-revert.svgz and edit-bomb.svgz)) and how they are supposed to be (opened in Inskcape) (308.84 KB, image/png)
2023-03-10 12:03 UTC, Néstor Andreu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Néstor Andreu 2023-03-10 12:03:40 UTC
Created attachment 157171 [details]
Comparison between how Plasma shows icons (the two from which the arrows part: document-revert.svgz and edit-bomb.svgz)) and how they are supposed to be (opened in Inskcape)

SUMMARY
SVG icon rendering does not apply blur or masks, which breaks a lot of svg icon themes. Applying blur and masks to svg shapes is very common when drawing vector images or icons.
This incomplete rendering appears both when application icons need to be displayed (such as start menu) and when SVGs are previewed in Dolphin.
Note: I'm not sure in which product should this bug be placed, so I chose a generic Plasma Shell.

STEPS TO REPRODUCE
Use any icon theme with SVG icons, some of which have blur and/or masks applied. For example, Obsidian (https://github.com/madmaxms/iconpack-obsidian/) or oxygen-icons-svg

OBSERVED RESULT
Icons which include blur on some elements and/or masks are not displayed properly, because both effects are ignored.

EXPECTED RESULT
Blur and masks correctly applied

SOFTWARE/OS VERSIONS
Manjaro Linux, Kernel 6.1.12-1-MANJARO
Linux/KDE Plasma: 
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Comment 1 Bug Janitor Service 2023-03-10 12:33:56 UTC
Thank you for the bug report!

Please note that Plasma 5.26.5 will not be supported for much longer by KDE; supported versions are 5.27, and 5.27 or newer.

Please upgrade to the latest version as soon as your distribution makes it available to you. Plasma is a fast-moving project, and bugs in one version are often fixed in the next one.
Comment 2 Nate Graham 2023-03-13 19:52:11 UTC
Ultimately this is a limitation of the Qt SVG renderer, which we use in Plasma. Options include making it better in Qt or using a different renderer in Plasma, which is tracked by Bug 448234. Let's dupe this report to that.

*** This bug has been marked as a duplicate of bug 448234 ***