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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |regression, release_blocker

--- Comment #1 from Tiar <tamtamy.tym...@gmail.com> ---
WHAT NEEDS TO BE DONE:
This is caused by:
'''
    beginResetModel();
    resetQuery();
    endResetModel();
'''
in both "removeStorage" and "addStorage".
There are two ways to fix it.
1) "Proper" way: avoid using resetModel(), and instead use rowsAdded(),
rowsRemoved(). Con: possibly error-prone if the developer uses some assumptions
about the order of tags that turn out to be untrue.
2) Implement it in every tag chooser to "remember" the last used tag and set it
after every resetModel.

NOTE:
This issue is related to the issue of remembering the tag after closing Krita.
It would be best if every resource chooser had its own place in configuration
to remember its own tag. It is especially tricky for tags in the brush chooser
popup from the toolbar and the brush chooser in Brush Presets docker.

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

Reply via email to