Using pattern fill option (shapes tool) on vector layer not working

Using the Pattern fill option in the shapes tool on a vector layer gives the same result as using the No fill option.

It works as normal for paint layers. I have all the default texture files.

I have tried:

  1. Reinstalling from setup exe.
    2)Going to the Fill tool and setting it to fill pattern.
    3)Messing around with the pattern Docker

I have no idea why this issue is happening. I have Krita 5.2.2 and it works fine other wise.

As far as I know, vector objects in Krita only support flat colors and maybe gradients but that’s it. No textures, no patterns. You can work around ut by having the texture on a different layer set to inherent alpha.

2 Likes

Hello and welcome to the forum @Spandan_Ganguli!

If you think about it more carefully, you should realize why it can’t work.

The fill options fill pixel-based raster graphics, if it’s not a solid color you want to fill with, it can’t work, the patterns in Krita’s pattern docker are pixel graphics and not vector objects.

Michelist

1 Like

By the way, it is the most stupid action in Krita to re-install Krita if something does not work. In more than 99.99% of all cases, this won’t work.
That is because the settings you want to overwrite are NOT in Krita’s installation folder, but in your user folder, and in case your resources, e.g. brush-tips, presets, patterns, etc., are the cause, these are also not in your installation folder and won’t be overwritten too.

Michelist

@Michelist @Takiro

Thank you for replying!

That was my first thought too, but I checked the documentation which suggests it is possible.

I’ve also seen videos on unrelated topics that use a shape tool with a fill pattern option on vector layers. That’s why I decided to seek help.

Yeah I know, but I thought that maybe the textures themselves were missing. Stupid of me to not check, but the texture for the patterns themselves are fine. I wasn’t thinking too hard.

Maybe the Fill: Pattern option in the Tool Options docker should be greyed out when using shape drawing tools on a vector layer?

1 Like

Hm not sure if the manual is wrong or I am, maybe someone else knows.

It’s selectable and I can input values into it, but they dont do anything

Yes, so they should be greyed out.
This is a relatively minor UI bug and should be reported on the formal bug tracker:
https://bugs.kde.org/ (Sign up and login are needed.)

Can you report this bug as Component: Documentation then post a link to the completed bug report in a reply to this topic.

2 Likes

So I just tried it in Krita myself and when you select the shapes wit the Edit Shape tool after it was created, it also has no option to fill with pattern, only Fill, Gradient, None and Mesh are available. So It’s probably the manual that is wrong here too.

Here’s a workaround that kinda works:

It’s a Fill Layer set to a pattern, in a group with the vector layer and the fill layer is set to inherent alpha.

2 Likes

Thank you, for now I will use this!

1 Like

I am hesitant because it seems to be working for other people. For example:

At 4:10 she creates a vector shape with a pattern . Is it a removed feature?

Would be News to me. Strangely in her shape edit there’s also no pattern fill option.

1 Like

Your right, I tried version 5.0 and there it works, it even shows “Pattern” in the tool options docker after selecting it with the Select Shape tool,

however thers no corresponding option that could be selected. The available options are None, Fill, Gradient and Mesh Gradient. Selecting any of them removes the pattern with no way to get it back. So I’m pretty sure now it’s actually a bug that you can’t have a pattern fill anymore and additionally the option is missing (in v 5.0 already) to set the fill to pattern, with the Select Shape tool.

So I guess we actually have two bugs at once here. The fill not happening like before and the UI (still) missing the option.

Edit: I wrote Edit Shapes tool before but I actually meant the Select Shape tool

2 Likes

So I should report it as a UI and functionality problem? On the link @AhabGreybeard provided?

1 Like

Yes, you can also find a bug report link inside Krita in the Help menu.

2 Likes

And because of @Takiro’s discovery, I would even create two bug-reports, one for every bug, and put a link to the corresponding reports*, so they are bound to each other, also put a link to this topic in both reports.

Michelist

*Okay, you can add the link to the second report not in the first because it has to be created first :wink: , but you can add it as a comment under the first bug-report once you have created the second one.

2 Likes

Understood. Thank you!

1 Like

This topic was automatically closed 4 days after the last reply. New replies are no longer allowed.