| Summary: | "Show deleted resources" checkbox doesn't work if the tag other than "All" is selected | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | sh_zam <shzam> |
| Component: | Resource Management | Assignee: | Dmitry Kazakov <dimula73> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | dimula73 |
| Priority: | NOR | ||
| Version First Reported In: | 5.0.0-beta5 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/graphics/krita/commit/d16994a3a59c69bf19551f6665e33607785eddac | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
sh_zam
2021-12-10 20:13:02 UTC
I can reproduce the issue here. The resource is visible in the tagged model even when it is deleted. When the resource is filtered via some text string, the checkbox starts to work perfectly :) A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/1232 Git commit 0b1636444fc5ce1c164c6da8dd477bb76714b06d by Dmitry Kazakov. Committed on 15/12/2021 at 12:35. Pushed by dkazakov into branch 'master'. WIP: Fix "Show deleted resources" button in the Resources Manager KisTagFilterResourceProxyModel internally owns two separate models that are switches depending on the current filter settings. When we change the settings for "show deleted resoruces", we sould cahnge that in both internal models. M +18 -0 libs/resources/KisTagFilterResourceProxyModel.cpp M +16 -0 libs/resources/KisTagFilterResourceProxyModel.h M +5 -4 plugins/extensions/resourcemanager/DlgResourceManager.cpp https://invent.kde.org/graphics/krita/commit/0b1636444fc5ce1c164c6da8dd477bb76714b06d Git commit d16994a3a59c69bf19551f6665e33607785eddac by Dmitry Kazakov. Committed on 15/12/2021 at 12:41. Pushed by dkazakov into branch 'krita/5.0'. WIP: Fix "Show deleted resources" button in the Resources Manager KisTagFilterResourceProxyModel internally owns two separate models that are switches depending on the current filter settings. When we change the settings for "show deleted resoruces", we sould cahnge that in both internal models. M +18 -0 libs/resources/KisTagFilterResourceProxyModel.cpp M +16 -0 libs/resources/KisTagFilterResourceProxyModel.h M +5 -4 plugins/extensions/resourcemanager/DlgResourceManager.cpp https://invent.kde.org/graphics/krita/commit/d16994a3a59c69bf19551f6665e33607785eddac |