| Summary: | Deleting resource from resource manager doesn't always work | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | sh_zam <shzam> |
| Component: | Resource Management | Assignee: | Eoin O'Neill <eoinoneill1991> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | eoinoneill1991 |
| 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/818e51416fc10aa186800101d5c2c64c4c86a401 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
sh_zam
2021-12-10 20:19:15 UTC
Git commit f08c134f133785529c6edab5d283cbadaf9b7116 by Eoin O'Neill. Committed on 14/12/2021 at 23:59. Pushed by eoinoneill into branch 'krita/5.0'. Fix resource deletion failure when browsing tag in resource manager. M +2 -2 plugins/extensions/resourcemanager/DlgResourceManager.cpp https://invent.kde.org/graphics/krita/commit/f08c134f133785529c6edab5d283cbadaf9b7116 Git commit 818e51416fc10aa186800101d5c2c64c4c86a401 by Dmitry Kazakov, on behalf of Eoin O'Neill. Committed on 15/12/2021 at 12:35. Pushed by dkazakov into branch 'master'. Fix resource deletion failure when browsing tag in resource manager. M +2 -2 plugins/extensions/resourcemanager/DlgResourceManager.cpp https://invent.kde.org/graphics/krita/commit/818e51416fc10aa186800101d5c2c64c4c86a401 Git commit 533fb9bd754a2c68381fc5aeff14041c7dd7ebf1 by Dmitry Kazakov. Committed on 15/12/2021 at 12:35. Pushed by dkazakov into branch 'master'. Fix updates of KisTagResourceModel when the resource is set inactive When we change the active state of the resource, we do that via KisResourceModel. Therefore KisTagResourceModel was not explicitly notified about this change. Now we connect both models to KisResourceLocator so that they get proper notifications when the resource's state changes. M +5 -1 libs/resources/KisResourceLocator.cpp M +6 -3 libs/resources/KisResourceLocator.h M +17 -6 libs/resources/KisResourceModel.cpp M +6 -0 libs/resources/KisResourceModel.h M +26 -0 libs/resources/KisTagResourceModel.cpp M +2 -0 libs/resources/KisTagResourceModel.h https://invent.kde.org/graphics/krita/commit/533fb9bd754a2c68381fc5aeff14041c7dd7ebf1 Git commit d20b9f0581ab8795dee718b6b389a9dbe756238b by Dmitry Kazakov. Committed on 15/12/2021 at 12:41. Pushed by dkazakov into branch 'krita/5.0'. Fix updates of KisTagResourceModel when the resource is set inactive When we change the active state of the resource, we do that via KisResourceModel. Therefore KisTagResourceModel was not explicitly notified about this change. Now we connect both models to KisResourceLocator so that they get proper notifications when the resource's state changes. M +5 -1 libs/resources/KisResourceLocator.cpp M +6 -3 libs/resources/KisResourceLocator.h M +17 -6 libs/resources/KisResourceModel.cpp M +6 -0 libs/resources/KisResourceModel.h M +26 -0 libs/resources/KisTagResourceModel.cpp M +2 -0 libs/resources/KisTagResourceModel.h https://invent.kde.org/graphics/krita/commit/d20b9f0581ab8795dee718b6b389a9dbe756238b |