Summary: | Tags saved in folder not loaded after recreating database | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | anno2300 |
Component: | Tagging | Assignee: | Halla Rempt <halla> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | halla, na7a5cha010 |
Priority: | NOR | ||
Version: | 5.0.0-beta2 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | macOS | ||
Latest Commit: | https://invent.kde.org/graphics/krita/commit/f15464962fd61a47b65a7b2ff31ddc0f357c7220 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | attachment-27791-0.html |
Description
anno2300
2021-09-24 10:33:32 UTC
Git commit ed74fee33080187f8c9dbd09e5efb995e3c8d567 by Halla Rempt. Committed on 29/09/2021 at 12:00. Pushed by rempt into branch 'master'. Fix saving tag desktop files: the Tag entry was missing M +3 -3 libs/resources/KisFolderStorage.cpp M +1 -1 libs/resources/KisTag.cpp https://invent.kde.org/graphics/krita/commit/ed74fee33080187f8c9dbd09e5efb995e3c8d567 Git commit f15464962fd61a47b65a7b2ff31ddc0f357c7220 by Halla Rempt. Committed on 29/09/2021 at 12:01. Pushed by rempt into branch 'krita/5.0'. Fix saving tag desktop files: the Tag entry was missing (cherry picked from commit ed74fee33080187f8c9dbd09e5efb995e3c8d567) M +3 -3 libs/resources/KisFolderStorage.cpp M +1 -1 libs/resources/KisTag.cpp https://invent.kde.org/graphics/krita/commit/f15464962fd61a47b65a7b2ff31ddc0f357c7220 I have to reopen this bug for beta2. It doesn't work to restore tags saved with the resource manager. They are saved right in a file, and the file contains also the brushes saved in the tag. The tag is also reimported right after recreate the database. But: The tag doesn't contain any brushes from ANY Bundle, just brushes from local folder are reloaded correctly. This behavior is the same with patterns and brushtips tags by the way. A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/1119 Created attachment 142760 [details] attachment-27791-0.html pt., 22 paź 2021, 10:38 użytkownik Bug Janitor Service < bugzilla_noreply@kde.org> napisał: > https://bugs.kde.org/show_bug.cgi?id=442888 > > Bug Janitor Service <bug-janitor@kde.org> changed: > > What |Removed |Added > > ---------------------------------------------------------------------------- > Status|REOPENED |ASSIGNED > > --- Comment #5 from Bug Janitor Service <bug-janitor@kde.org> --- > A possibly relevant merge request was started @ > https://invent.kde.org/graphics/krita/-/merge_requests/1119 > > -- > You are receiving this mail because: > You are watching all bug changes. > > Hello, I want to add something about this bug because its related, I don't know if i have to create a new one. SUMMARY When remove a tag from a brush preset and delete the 'resourcecache.sqlite', at reopen krita the brush its in the same tag. And if save tags to folder, its not updating the corresponding tag file CASE 1 STEPS TO REPRODUCE 1. Remove a brush from a tag. ex: g)_Dry_Brushing.kpp in Favorites tag 2. Settings, Manage Resource, Save Tags to Folder OBSERVED RESULTS In the paintoppresets folder the Favorites.tag file still has the brush you removed EXPECTED RESULTS The '.tag' file should not have the removed tag CASE 2 STEPS TO REPRODUCE 1. Remove a brush from a tag. ex: g)_Dry_Brushing.kpp in Favorites tag 2. Settings, Manage Resource, Save Tags to Folder 3. Close krita 4. Edit the Favorites.tag file in the resource directory paintoppresets folder, remove the name of the brush preset 5. Rename/delete 'resourcecache.sqlite' file in resource directory 6. Reopen krita to regenerate file OBSERVED RESULTS Krita loads the tags from the bundle instead the '.tag' file EXPECTED RESULTS Load the brushes from the '.tag' file that have the modifications SOFTWARE/OS VERSION Krita 5.0.2 windows 10 Home: 21H1 |