Bug 444496 - svg gradient no more rendered
Summary: svg gradient no more rendered
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: general (show other bugs)
Version: 21.08.2
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-27 16:39 UTC by Duns
Modified: 2021-11-05 17:50 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
the svg now invisible (623 bytes, image/svg+xml)
2021-10-27 16:39 UTC, Duns
Details

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