Vector shapes filled with gradient bug

Hi

I’m facing to a strange bug with vector layers & shapes.

I have different shapes on same layer.
Some shapes are empty (no fill), other are filled (plain color)

If I select one shape, and then select all shapes, Ok.
If I unselect everything and then select all shapes, all shapes are set will fill gradient

Example

But I’m not able to reproduce it systematically.
I mean, on example from video, if I restart Krita, open document:

If I create a new document, and try to reproduce it (create some shapes), sometime the bug is here, sometime not…)

Does anyone have the same problem?
Here a link to example document:
http://www.grum.fr/tmp/mouth_vector_bug.kra

Grum999

Don’t know if it’s related or not, I also have a bug relative to color used to draw vector.

Create a vector shape, with line color + fill color.

Select shape
Change fill color

Draw a new shape with border line color defined as color brush.
The color brush is not applied (applied: last color used to fill previous shape)

Change color brush.
Draw a new shape: color is properly used.

Select first shape, change fill color again.
Draw a new shape: last color used to fill previous shape is used instead of color brush

Here an example (sorry for sweet colors :crazy_face:)

Grum999

Yes. I was going to implement a feature in the new gradient editors and noticed that the gradient handling is very weird in the shape fill/stroke options. Not only that one you mention but also editing the gradient itself (the bad effects may be different with the new editor and the old one but they were present already). It also seems like there is some cycles in the signals. I’ll have to dig into that.

2 Likes

Hi @Deif_Lou

Thanks!
I’ll report a bug in bugzilla (tonight or tomorrow, today it will be difficult for me :slight_smile: )

Grum999

Can confirm all described problems.
Krita: 5 prealpha (git 0a36a37)
OS: Windows 10

Hi

I created 2 bugs:
https://bugs.kde.org/show_bug.cgi?id=438758

https://bugs.kde.org/show_bug.cgi?id=438756

Grum999

1 Like