Bug 364504

Summary: ksvg is not able to display inkscape svg filter effects
Product: [Unmaintained] ksvg2 Reporter: Janet <bugzilla>
Component: generalAssignee: Nikolas Zimmermann <wildfox>
Status: RESOLVED UNMAINTAINED    
Severity: wishlist CC: cfeck
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Janet 2016-06-19 13:38:17 UTC
Inkscape offers some nice filter effects to create svgs, e.g. frozen glass. But none of these filter effects is visible in KDE applications (dolphin preview, in icon themes). Applications not using ksvg can display the filters and effects so it is not an inkscape-only thingy. It would be great if KDE applications also could show the filter effects, would be great for creating svg icons and svg wallpapers.

Reproducible: Always
Comment 1 Christoph Feck 2016-06-20 04:32:05 UTC
Neither icons, nor the wallpapers use KSVG2. It is probably only used in KHTML.

If you want better SVG support in icons or wallpapers, they would need to switch to QWebEngine, because that's the only Qt SVG renderer, that supports SVG filters.
Comment 2 Janet 2016-06-23 08:46:04 UTC
Oh, sorry, I don't know the internal structure... If ksvg only is used in khtml - for which internal part icon/wallpaper rendering should be reported as they obviously use the same engine?
Comment 3 Christoph Feck 2016-06-26 03:50:14 UTC
Wallpapers:

either "plasmashell/Image Wallpaper", or
upstream to Qt if the wallpapers are loaded by QImageReader.

icons:

either "frameworks-kiconthemes" if applications use KIcon, or
upstream to Qt if applications use QIcon. Plasma may have its own icon (QML) classes.

QtSvg is limited to https://www.w3.org/TR/SVGTiny12/ and I am not sure if QtWebEngine has API to allow rendering SVG without instantiating a full web browser. For small icons, the overhead is probably insane.
Comment 4 Andrew Crouthamel 2018-09-04 14:10:05 UTC
Hello! Sorry to be the bearer of bad news, but this project has been unmaintained for many years so I am closing this bug.