Bug 352149 - when SelectedTags at startup is a bundle auto-tag ; the preset list is empty
Summary: when SelectedTags at startup is a bundle auto-tag ; the preset list is empty
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Usability (show other bugs)
Version: 2.9.8
Platform: Other Linux
: NOR grave
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-02 07:56 UTC by David REVOY
Modified: 2016-01-22 13:32 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
[^ bundle to reproduce the bug, it install 'deevad' auto-tag, with V7 beta ] (2.97 MB, application/x-krita)
2015-09-02 07:56 UTC, David REVOY
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David REVOY 2015-09-02 07:56:34 UTC
Created attachment 94338 [details]
[^ bundle to reproduce the bug, it install 'deevad' auto-tag, with V7 beta ]

Hi,
This bug is marked as grave because with it around ;  the auto-tag of bundle make no-sens, as well as the default SelectedTag at startup.

To reproduce :
============
* Activate a bundle containing brushpresets ( in attachment a WIP brushkit , 'deevad' 3MB )
* Restart Krita to workaround Bug 352147 and get the auto-tag 'deevad' appear in tag list
* Create a document ( to have permission to switch tag ) and switch to 'deevad'.
* Close Krita

Result :
======
On start-up of Krita, the preset list should be empty, even if the tag field label 'deevad' correctly.
* video of the effect : http://www.peppercarrot.com/extras/temp/2015-09-01_bug-tag-bundle.webm
For the user, it's an handicap. The new kit installed can't be used or become problematic.

Observations :
============
* in config/Kritarc , the setting is correctly filled :
``` [SelectedTags]
``` kis_paintoppresets=deevad
* If you switch to a default tag ( eg. Ink ) , it will work. Brushes will show up at start-up.
Comment 1 wolthera 2015-09-02 12:51:18 UTC
This is one of the many bugs Smjert is working on with the preset widget refactoring. It happens with all tags.
Comment 2 Halla Rempt 2016-01-22 11:54:19 UTC
Well, right now, it doesn't happen with the default tags that come with krita, but it does still happen with the bundle autotags.
Comment 3 Halla Rempt 2016-01-22 13:32:25 UTC
Git commit 42a7a211de6f271b0e8b1679d648ad684c6eae30 by Boudewijn Rempt.
Committed on 22/01/2016 at 13:32.
Pushed by rempt into branch 'master'.

This now loads the bundles at the end of loading all resources.

M  +0    -4    krita/plugins/extensions/resourcemanager/CMakeLists.txt
M  +13   -12   krita/plugins/extensions/resourcemanager/dlg_bundle_manager.cpp
M  +5    -5    krita/plugins/extensions/resourcemanager/dlg_bundle_manager.h
M  +2    -2    krita/plugins/extensions/resourcemanager/dlg_create_bundle.cpp
M  +3    -3    krita/plugins/extensions/resourcemanager/dlg_create_bundle.h
M  +5    -57   krita/plugins/extensions/resourcemanager/resourcemanager.cpp
M  +3    -20   krita/plugins/extensions/resourcemanager/resourcemanager.h
M  +2    -0    krita/ui/CMakeLists.txt
M  +1    -0    krita/ui/KisApplication.cpp
C  +48   -54   krita/ui/KisResourceBundle.cpp [from: krita/plugins/extensions/resourcemanager/resourcebundle.cpp - 090% similarity]
C  +7    -5    krita/ui/KisResourceBundle.h [from: krita/plugins/extensions/resourcemanager/resourcebundle.h - 094% similarity]
C  +11   -11   krita/ui/KisResourceBundleManifest.cpp [from: krita/plugins/extensions/resourcemanager/resourcebundle_manifest.cpp - 090% similarity]
C  +5    -3    krita/ui/KisResourceBundleManifest.h [from: krita/plugins/extensions/resourcemanager/resourcebundle_manifest.h - 094% similarity]
M  +21   -0    krita/ui/kis_resource_server_provider.cpp
M  +6    -3    krita/ui/kis_resource_server_provider.h
C  +0    -0    krita/ui/resourcemanager/CMakeLists.txt [from: krita/plugins/extensions/resourcemanager/CMakeLists.txt - 100% similarity]
A  +1    -0    krita/ui/resourcemanager/NOTES
C  +0    -0    krita/ui/resourcemanager/dlg_bundle_manager.cpp [from: krita/plugins/extensions/resourcemanager/dlg_bundle_manager.cpp - 100% similarity]
C  +0    -0    krita/ui/resourcemanager/dlg_bundle_manager.h [from: krita/plugins/extensions/resourcemanager/dlg_bundle_manager.h - 100% similarity]
C  +0    -0    krita/ui/resourcemanager/dlg_create_bundle.cpp [from: krita/plugins/extensions/resourcemanager/dlg_create_bundle.cpp - 100% similarity]
C  +0    -0    krita/ui/resourcemanager/dlg_create_bundle.h [from: krita/plugins/extensions/resourcemanager/dlg_create_bundle.h - 100% similarity]
A  +9    -0    krita/ui/resourcemanager/kritaresourcemanager.json
R  +0    -0    krita/ui/resourcemanager/resourcebundle.cpp [from: krita/plugins/extensions/resourcemanager/resourcebundle.cpp - 100% similarity]
R  +0    -0    krita/ui/resourcemanager/resourcebundle.h [from: krita/plugins/extensions/resourcemanager/resourcebundle.h - 100% similarity]
R  +0    -0    krita/ui/resourcemanager/resourcebundle_manifest.cpp [from: krita/plugins/extensions/resourcemanager/resourcebundle_manifest.cpp - 100% similarity]
R  +0    -0    krita/ui/resourcemanager/resourcebundle_manifest.h [from: krita/plugins/extensions/resourcemanager/resourcebundle_manifest.h - 100% similarity]
C  +0    -0    krita/ui/resourcemanager/resourcemanager.cpp [from: krita/plugins/extensions/resourcemanager/resourcemanager.cpp - 100% similarity]
C  +0    -0    krita/ui/resourcemanager/resourcemanager.h [from: krita/plugins/extensions/resourcemanager/resourcemanager.h - 100% similarity]
A  +13   -0    krita/ui/resourcemanager/resourcemanager.rc
R  +0    -0    krita/ui/resourcemanager/tests/CMakeLists.txt [from: krita/plugins/extensions/resourcemanager/tests/CMakeLists.txt - 100% similarity]
C  +0    -0    krita/ui/resourcemanager/tests/ResourceBundleTest.cpp [from: krita/plugins/extensions/resourcemanager/tests/ResourceBundleTest.cpp - 100% similarity]
C  +0    -0    krita/ui/resourcemanager/tests/ResourceBundleTest.h [from: krita/plugins/extensions/resourcemanager/tests/ResourceBundleTest.h - 100% similarity]
C  +-    --    krita/ui/resourcemanager/tests/data/thumb.png [from: krita/plugins/extensions/resourcemanager/tests/data/thumb.png - 100% similarity]
A  +539  -0    krita/ui/resourcemanager/wdgdlgbundlemanager.ui
A  +466  -0    krita/ui/resourcemanager/wdgdlgcreatebundle.ui
M  +7    -0    krita/ui/tests/CMakeLists.txt
R  +4    -4    krita/ui/tests/ResourceBundleTest.cpp [from: krita/plugins/extensions/resourcemanager/tests/ResourceBundleTest.cpp - 096% similarity]
R  +0    -0    krita/ui/tests/ResourceBundleTest.h [from: krita/plugins/extensions/resourcemanager/tests/ResourceBundleTest.h - 100% similarity]
R  +-    --    krita/ui/tests/data/thumb.png [from: krita/plugins/extensions/resourcemanager/tests/data/thumb.png - 100% similarity]
M  +1    -0    libs/widgets/KoResourceServerProvider.cpp

http://commits.kde.org/krita/42a7a211de6f271b0e8b1679d648ad684c6eae30