Bug 444496

Summary: svg gradient no more rendered
Product: [Applications] dolphin Reporter: Duns <web>
Component: view-engine: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: kfm-devel
Priority: NOR    
Version: 21.08.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: the svg now invisible

Description Duns 2021-10-27 16:39:38 UTC
Created attachment 142945 [details]
the svg now invisible

SUMMARY


STEPS TO REPRODUCE
1. you have some svg icons with gradients
2. once they were rendered correctly
3. nou they are invisible

OBSERVED RESULT
The svg that Firefox can see correctly and w3c validator says valida svg, and previoulsy were correctly shown both in Dolphin and in Gwenview, now are invisible

EXPECTED RESULT
svg visible

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.23
KDE Plasma Version: 5.23.2
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.3
Kernel Version: 5.11.0-38-generic (64-bit)
Graphics Platform: X11
Processors: 2 × Intel® Core™ i3-7100 CPU @ 3.90GHz
Memory: 7,7 GiB of RAM
Graphics Processor: GeForce GT 710/PCIe/SSE2

ADDITIONAL INFORMATION
This is the svg code:  


What is wrong?
Comment 1 Duns 2021-11-05 17:50:00 UTC
I noticed that 
1) the problem is only with svg radial gradients and 
2) the solution is to add in <radialGradient>  cx, cy, and r parametres, such as  
<radialGradient id="gradient" cx="0.50" cy="0.50" r="0.45">