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

Tiar <tamtamy.tym...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|krita-bugs-n...@kde.org     |tamtamy.tym...@gmail.com
           Keywords|                            |regression, release_blocker

--- Comment #3 from Tiar <tamtamy.tym...@gmail.com> ---
In theory, you should just save as you did, and then use it to create a new
brush preset. It should show up in the Brush Tips widget.

Now I see that it only works once (so if you first create a brush tip, then
edit it and save, then it works, but if you save again, it won't work).
Probable reason:
It uses `QVector<KoResourceSP> resources =
model.resourcesForFilename(QFileInfo(path).fileName());`. This only looks for a
current active resource which *current* filename is the same as the as the
provided filename. Here the problem is, it looks for `Tip_A.gbr` but the
filename of the `Tip A` resource is now `Tip_A.0001.gbr`. I guess either
changing the filename of the document, or using a better function (that looks
up resources with filenames no matter which version they were) would fix this
issue.

So yeah, there is a very clear bug and regression there as well.

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

Reply via email to