Fill layer with pattern finds no resource

Here’s what happens: (macOS 4.4.2, 4.4.3, android)

I create a file and fill in a fill layer with a pattern. The pattern itself is located in /patterns/folder1/pattern_v1.png. Now I change the folder from folder1 to folder2 and open the file again. Now the pattern is still in the krita database, but I have to select the pattern again in the created .kra file in the fill layer, because it seems that krita uses an absolute path to the patterns for the fill layer with pattern function. I get more problems if the patterns are then suddenly in a completely different directory if I use two different versions and want to change the same file from macOS to Android or vice versa. Also if a pattern is in a bundle fill layer does not recognize the pattern anymore, the canvas is just white or shows the background. This is maybe cause the location of the bundle in Android is another than in desktop and krita also uses the full path, doesn’t matter if the pattern is in a bundle or not?

My question now is, why does the path matter for fill patterns, but when using patterns in the brush presets it doesn’t matter where the pattern is located? (I have tested). Then it is enough if the pattern is recognized by krita and is available in the “database”?

For the sake of interchangable of templates and .kra files this minor issue should no longer play a role in the future versions in my opinion.

Thanks and best regards

Is it possible that this has already been changed in krita 5.0.0? In the prealpha I can’t see this problem at the first moment. Even if I change the folder name in which the pattern is located, the layer is filled. unfortunately I can not test how it looks when you switch between macOS and android. If this would also not cause any problems it would be already solved :wink:

Bugs in this area have been reported:
429883 – Faulty Fill pattern when importing for a Fill Layer

I’ve just had a quick look at the 5.0.0 prealpha and it has a different problem in that area. It is under continuous development so things aren’t certain.

I came to the conclusion that a brush preset that used a pattern actually stored the pattern in the .kpp file. It seems to be the only explanation for what I’ve observed.

That patterns are stored in brush presets .kpp fits with my observation. As a sample when I switch to the Pattern “DA Pastel 04 Basic” from Digital Atelier. And I go to the pattern selection in the brush tool settings, it appears a new pattern 07_big-grain that was not in the bundle, default resource or anything else. Then I thought, well maybe this pattern was in the .kpp file and was loaded into the Arita pattern database when I switched the pattern selection for this brush. I hope you understand what I mean.

Yes I do understand and it is that way.
If I gave you the .kpp file for my unique patterned brush preset, you’d see my unique pattern in the Patterns docker and also in the Brush Editor patterns selections.
If you then replace that unique pattern in the brush preset with another pattern, you can still see the unique pattern and use it in the Fill tool etc.
After a restart, that unique pattern is no longer available.

1 Like

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