Bug 466640 - Shaped gradient behaves incorrectly for disconnected shapes
Summary: Shaped gradient behaves incorrectly for disconnected shapes
Status: REPORTED
Alias: None
Product: krita
Classification: Applications
Component: Tools (other bugs)
Version First Reported In: 5.1.5
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-01 07:54 UTC by Viper
Modified: 2023-03-01 07:54 UTC (History)
0 users

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


Attachments
Description of the problem (700.79 KB, image/png)
2023-03-01 07:54 UTC, Viper
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Viper 2023-03-01 07:54:35 UTC
Created attachment 156854 [details]
Description of the problem

As shown in the attachments, I'm using 3 black circles inside each other: The outer 2 circles have borders with no fill, and the inner-most circle is filled. I select the shapes using the Similar Color Selection tool, delete the shapes and replace them with Shaped gradient with black and white colors.

The result is that I get the shaped gradient, as well as what appears to be 4 square edges that appear in the outer-most circle (See attachment shaped_gradient_problem.png).


STEPS TO REPRODUCE
1. Create 3 circles as shown in the attachment
2. Select all the shapes together
3. Apply the gradient tool with the shape set to "Shaped"

OBSERVED RESULT

Square, solid colored edges appear on the outer-most circle

EXPECTED RESULT

The shaped gradient not containing the square edges (See the bottom of the attached image , which was created by applying the gradient on each of the circles separately).

SOFTWARE/OS VERSIONS
Windows: 10
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION