Summary: | Resource tag chooser doesn't update when active bundles change. | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Emmet O'Neill <emmetoneill.pdx> |
Component: | Resource Management | Assignee: | Emmet O'Neill <emmetoneill.pdx> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | lynx.mw+kde |
Priority: | NOR | Keywords: | release_blocker |
Version First Reported In: | git master (please specify the git hash!) | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Emmet O'Neill
2021-07-27 03:59:43 UTC
I also want to add that this bug occurs the other way around also: if you originally open the brush preset chooser with "Krita 4 Default Resources" disabled (only a single eraser visible), and then enable that bundle before selecting "Erasers" in the tag chooser combo box above, you'll still see only 1 eraser when there should be 3! I don't know this system that well yet, but it might hint that some aspect of the filtering is being cached (or not being refreshed/invalidated) when it should be. Yeah now that I look at it, KisAllTagResourceModel does not connect to "KisStorageModel::instance(), SIGNAL(storageEnabled(const QString&)" etc. like KisAllResourceModel and KisAllTagsModel. KisTagFilterResourceProxyModel switches between KisResourceModel and KisTagResourceModel as source depending on the filter set, but if the latter keeps getting the date of an outdated database query, it'll keep reporting the old state until something triggers a query reset. I resolved this as of commit a51f7ee078c006eb601883529373b0c1dccccdb5. |