| Summary: | Altering cloned resources without first changing filenames impacts on the original | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | amyspark <amy> |
| Component: | Resource Management | Assignee: | Tiar <tamtamy.tymona> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | tamtamy.tymona |
| Priority: | NOR | ||
| Version First Reported In: | git master (please specify the git hash!) | ||
| Target Milestone: | --- | ||
| Platform: | Microsoft Windows | ||
| OS: | Microsoft Windows | ||
| Latest Commit: | https://invent.kde.org/graphics/krita/commit/db437e2236b05c8dc48b66dae603c79be7ee93a5 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
amyspark
2021-09-28 15:20:28 UTC
Git commit 715f492b6bc73112d014b58867f7f79ceb3a2f01 by Agata Cacko. Committed on 03/10/2021 at 16:23. Pushed by tymond into branch 'master'. Use the same logic for palettes, sessions and workspaces Before this commit, handling palettes, sessions and workspaces was handled in their own respective widgets. This commit removes old logic and replaces it with the call to the KisResourceOverwriteDialog which contains universal logic for renameResource, addResource and importResourceFile. M +7 -27 libs/ui/KisMainWindow.cpp M +11 -7 libs/ui/KisPaletteEditor.cpp M +15 -37 libs/ui/dialogs/KisSessionManagerDialog.cpp https://invent.kde.org/graphics/krita/commit/715f492b6bc73112d014b58867f7f79ceb3a2f01 Git commit 7093da66be396719aaa9bffe92ce13fef2edaa7d by Agata Cacko. Committed on 03/10/2021 at 16:27. Pushed by tymond into branch 'krita/5.0'. Use the same logic for palettes, sessions and workspaces Before this commit, handling palettes, sessions and workspaces was handled in their own respective widgets. This commit removes old logic and replaces it with the call to the KisResourceOverwriteDialog which contains universal logic for renameResource, addResource and importResourceFile. M +7 -27 libs/ui/KisMainWindow.cpp M +11 -7 libs/ui/KisPaletteEditor.cpp M +15 -37 libs/ui/dialogs/KisSessionManagerDialog.cpp https://invent.kde.org/graphics/krita/commit/7093da66be396719aaa9bffe92ce13fef2edaa7d Git commit 98097fc6cdbcd103bc8ac08f2425660ca6edccd0 by L. E. Segovia. Committed on 19/10/2021 at 16:11. Pushed by lsegovia into branch 'master'. SeExpr: update resource creation and overwriting The SeExpr preset management hadn't been updated to the new resource system. It removes the need for cloning resources, and using Tiar's helpers lets the resource system handle renames and updates. Fixes https://krita-artists.org/t/help-krita-improve-with-structured-beta-testing-of-the-new-resource-system-in-krita-5-0/28779/28 This commit completes 126565fcee90ee516d6008fa797d6ecc279a5503. Co-authored-by: Agata Cacko <tamtamy.tymona@gmail.com> M +2 -15 libs/flake/resources/KisSeExprScript.cpp M +0 -3 libs/flake/resources/KisSeExprScript.h M +50 -28 plugins/generators/seexpr/kis_wdg_seexpr.cpp M +49 -54 plugins/generators/seexpr/kis_wdg_seexpr_presets_save.cpp https://invent.kde.org/graphics/krita/commit/98097fc6cdbcd103bc8ac08f2425660ca6edccd0 Git commit db437e2236b05c8dc48b66dae603c79be7ee93a5 by L. E. Segovia. Committed on 19/10/2021 at 16:19. Pushed by lsegovia into branch 'krita/5.0'. SeExpr: update resource creation and overwriting The SeExpr preset management hadn't been updated to the new resource system. It removes the need for cloning resources, and using Tiar's helpers lets the resource system handle renames and updates. Fixes https://krita-artists.org/t/help-krita-improve-with-structured-beta-testing-of-the-new-resource-system-in-krita-5-0/28779/28 This commit completes 126565fcee90ee516d6008fa797d6ecc279a5503. Co-authored-by: Agata Cacko <tamtamy.tymona@gmail.com> (cherry picked from commit 98097fc6cdbcd103bc8ac08f2425660ca6edccd0) M +2 -15 libs/flake/resources/KisSeExprScript.cpp M +0 -3 libs/flake/resources/KisSeExprScript.h M +50 -28 plugins/generators/seexpr/kis_wdg_seexpr.cpp M +49 -54 plugins/generators/seexpr/kis_wdg_seexpr_presets_save.cpp https://invent.kde.org/graphics/krita/commit/db437e2236b05c8dc48b66dae603c79be7ee93a5 |