Bug 405051 - Linear gradient from Inkscape not displayed correctly
Summary: Linear gradient from Inkscape not displayed correctly
Status: CONFIRMED
Alias: None
Product: krita
Classification: Applications
Component: Layers/Vector (other bugs)
Version First Reported In: 5.2.9
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-04 00:07 UTC by hellocatfood
Modified: 2025-05-01 15:26 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
SVG and screenshot showing inconsistencies (283.64 KB, application/zip)
2019-03-04 00:07 UTC, hellocatfood
Details

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