[krita] [Bug 441350] Brushes works wrong, after selecting another pattern and reselecting the original one, they works like the should

Halla Rempt bugzilla_noreply at kde.org
Sat Aug 28 12:30:31 BST 2021


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

--- Comment #3 from Halla Rempt <halla at valdyas.org> ---
Okay, preliminary conclusions:

* There are two brush tips with the same md5sum,
cf1bc7415af3103afcd82f58a2e6fe18.
* But they have two different filenames: square_rough.png (krita4 bundle) and
3_texture.png (krita 3 bundle).
* At some point, because we select the first resource with the correct md5sum,
3_texture.png gets added to the thread local resource snapshot. However, the
paintop option still only selects by filename, and so looks for
square_rough.png, which isn't in there.

Two options: 

* return all resources with the right type and filename in
KisAllResourceModel::resourceByName/FileName/MD5, and add them to the local
snapshot
* change the paintop options to add the relevant keys for md5sum to the
option's settings object, and select from the local resource shapshot by
md5sum.

-- 
You are receiving this mail because:
You are watching all bug changes.



More information about the kde-mac mailing list