Bug 391586

Summary: [bundle] Deactivate the Krita 3 bundle at startup
Product: [Applications] krita Reporter: David REVOY <info>
Component: Resource ManagementAssignee: Halla Rempt <halla>
Status: RESOLVED FIXED    
Severity: normal CC: halla
Priority: NOR    
Version First Reported In: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description David REVOY 2018-03-08 21:47:57 UTC
Hi,

A project in Krita 4.0 is to ship the Krita 3 bundle of ressources by default and desactivated. So I tried to do it. Adding the bundle (with a new thumbnail) was not a problem. I had issue with the second part: desactivating the bundle by default in Krita. 

What I tried:
You can find my "patch" here:
https://www.peppercarrot.com/extras/temp/2018-03-08_patch-for-krita-data.zip
(files you can paste in krita/src/krita/data )

I tried to add manually a kis_resourcebundles.blacklist, add the file to CMakeList.txt but I can't get the file to transfer to the final resource folder  (in my inst/ folder). So, the Krita 3 brush presets are always activated by default at startup.
Comment 2 Halla Rempt 2018-03-10 07:58:59 UTC
Git commit e2f7a878a32194f0a290cc7fc60a94ea5ffd7457 by Boudewijn Rempt.
Committed on 10/03/2018 at 07:58.
Pushed by rempt into branch 'master'.

Fix issues with disabling/enabling the 3.0 default bundle
Related: bug 391607

M  +1    -1    libs/widgets/KoResourceServer.h
M  +44   -31   plugins/extensions/resourcemanager/dlg_bundle_manager.cpp

https://commits.kde.org/krita/e2f7a878a32194f0a290cc7fc60a94ea5ffd7457
Comment 3 Halla Rempt 2018-03-10 07:59:15 UTC
Git commit 160ab699ba123dcd3a6941fdbebf15ad8bb88ccb by Boudewijn Rempt.
Committed on 10/03/2018 at 07:59.
Pushed by rempt into branch 'krita/4.0'.

Fix issues with disabling/enabling the 3.0 default bundle
Related: bug 391607
(cherry picked from commit bef372299dcef1199c496f1a586abf3cafcd356e)

M  +1    -1    libs/widgets/KoResourceServer.h
M  +44   -31   plugins/extensions/resourcemanager/dlg_bundle_manager.cpp

https://commits.kde.org/krita/160ab699ba123dcd3a6941fdbebf15ad8bb88ccb