Bug 405051

Summary: Linear gradient from Inkscape not displayed correctly
Product: [Applications] krita Reporter: hellocatfood <hellocatfoodsocial>
Component: Layers/VectorAssignee: Krita Bugs <krita-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: griffinvalley, roxy-kdebug
Priority: NOR    
Version First Reported In: 5.2.9   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: SVG and screenshot showing inconsistencies

Description hellocatfood 2019-03-04 00:07:11 UTC
Created attachment 118518 [details]
SVG and screenshot showing inconsistencies

SUMMARY
I have created an SVG in inkscape 0.92.3 using Ubuntu 18.10. The document has gradient fills. 

When the same vector file is opened in Krita the direction of the gradients changes.

STEPS TO REPRODUCE
1. Open attached vector graphic in inkscape
2. Open attached vector graphic in krita
3. compare results

OBSERVED RESULT
Gradients are rendered differently

EXPECTED RESULT
Gradients should be rendered the same

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 18.10, Gnome Shell
Comment 1 roxy-kdebug 2019-03-11 21:50:16 UTC
Failed to reproduce, gradients were rendered the same.

Running Arch Linux with MATE desktop environment

Inkscape ver. 0.92.4
Krita ver. 4.1.8
Comment 2 wolthera 2019-04-08 14:39:39 UTC
I can confirm on KDE Neon, which is based on ubuntu 18.04, so there must be something very system specific going on there...
Comment 3 Dmitry Kazakov 2024-08-22 16:38:37 UTC
Remove triaged keyword from CONFIRMED bugs
Comment 4 Vitamorus 2025-05-01 15:26:38 UTC
Re-confirmed for 5.2.9 on KDE Neon, testing both the AppImage and Flatpak.
Looking at the controllers (the line with handles on the canvas) for the gradient in each software, Inkscape's controller is nicely contained within the shape whilst Krita's is much larger and way out to the right. So there's something strange going on with how the coordinates of the gradient is being interpreted; they're being scaled differently.

Sidenote: Krita is also struggling with updating the rendering of the controller outside the border of the shape as well...