I first encountered this issue while using the Krita 5 Beta, and continued to with recent Plus versions.
Last month I resumed work on my bundle project, and I made a new preset using an animated .gih brushtip. I made that from scanned textured dabs; the aim was to make a lightness texturing brush for painting ground textures. The filesize of that unoptimised brush tip was very large at 42MB. The preset worked as expected, but when I went to use it again in a following session I found I couldn’t activate it.
Since then I’ve replicated the problem many times, and done many tests to eliminate possibilities and narrow down what the issue could be. After the last round of tests on Sunday I seem to have pinpointed the issue to using GIMP format brushes (.gbr and .gih) with a file size exceeding 6MB.
Info for replicating the problem:
-
Using Krita 5 Beta or Plus:
-
Create a large brushtip and save as a .gbr or .gih (.png seems to be okay. I haven’t tested other formats).
-
Both single or animated tips should cause a failed* preset if the file size of the tip exceeds 6MB (tested down to 6.1MB).
-
Below the 6MB threshold should work (tested up to 5.9MB).
-
The problem is present for tips with or without lightness information.
-
Confirmed with pixel engine and colour smudge engine.
-
Creating a masked pixel engine preset using brush tips with a combined size exceeding 6MB will also fail (can be the same tip).
*The failed preset will work correctly as you make it, but once saved as a new preset you wont be able to switch to it. The icon is added to presets and will highlight when selected but the previously selected preset will remain active.
Note: If switching to it from the base preset you used, you would need to reinitialise that - otherwise it will retain the characteristics of the newly saved preset and appear as if it’s working.
The preset will show up in the resource folder. I tried importing some failed presets into a default installation, but got a message saying the files couldn’t be loaded as resources.
All my tests were done on Linux.
So that’s a summary of my findings so far. I’ll @ some devs and seasoned brush makers so you’re aware of it and in case anyone want to try replicating the problem. I’ve already reported my findings to @Tiar as I went.
I’m not familiar with making bug reports and haven’t done one for this (Tiar did ask me to though)!
@halla @dkazakov @Voronwe13 @RamonM @Deevad @Rakurri @wojtryb @fizzyflower

