Bug 493187

Summary: Radial gradients are lost on SVG import
Product: [Applications] krita Reporter: lcn
Component: * UnknownAssignee: Krita Bugs <krita-bugs-null>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.2.3   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description lcn 2024-09-16 08:52:12 UTC
SUMMARY
When importing SVG files with shapes that use a radial gradient or when pasting such a shape from Inkscape, the gradient is displayed as a solid color. This is working fine with linear gradients. When creating a radial gradient directly in Krita, it's also working fine.

STEPS TO REPRODUCE
1. Create a new file in Inkscape, draw a rectangle, set radial gradient fill.
2. Save as SVG or copy to clipboard.
3. Open or paste in Krita.

OBSERVED RESULT
The gradient is displayed as a solid color.

EXPECTED RESULT
The gradient is displayed as it looked in Inkscape.

SOFTWARE/OS VERSIONS
Gentoo Linux
Krita 5.2.3
Qt Version: 5.15.14