Summary: | Importing the same bundle with a different filename doesn't deduplicate resources | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | amyspark <amy> |
Component: | Resource Management | Assignee: | amyspark <amy> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dimula73 |
Priority: | NOR | ||
Version: | 5.0.0-beta5 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Microsoft Windows | ||
Latest Commit: | https://invent.kde.org/graphics/krita/commit/4d7b3c3f7c9cde04196183727c0e2d3c7cc77cca | Version Fixed In: | |
Sentry Crash Report: | |||
Bug Depends on: | 445367 | ||
Bug Blocks: | |||
Attachments: | Screenshot of the bug |
Description
amyspark
2021-12-08 23:56:58 UTC
Created attachment 144370 [details]
Screenshot of the bug
It's a byproduct of bug 445367. The model considers duplicates too narrowly. (cc Dmitry, I'll need your review on the fix) A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/1215 A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/1225 Git commit e23a445df24079c5b23a4055341cc6c67e46f73b by Dmitry Kazakov. Committed on 13/12/2021 at 13:48. Pushed by dkazakov into branch 'master'. Fix resource duplication when any tag is selected It looks like we switch the model when a a tag is selected, so this model should also perform the group-by-based deduplication. M +6 -3 libs/resources/KisTagResourceModel.cpp https://invent.kde.org/graphics/krita/commit/e23a445df24079c5b23a4055341cc6c67e46f73b Git commit 4d7b3c3f7c9cde04196183727c0e2d3c7cc77cca by Dmitry Kazakov. Committed on 13/12/2021 at 13:49. Pushed by dkazakov into branch 'krita/5.0'. Fix resource duplication when any tag is selected It looks like we switch the model when a a tag is selected, so this model should also perform the group-by-based deduplication. (cherry picked from commit e23a445df24079c5b23a4055341cc6c67e46f73b) M +6 -3 libs/resources/KisTagResourceModel.cpp https://invent.kde.org/graphics/krita/commit/4d7b3c3f7c9cde04196183727c0e2d3c7cc77cca |