Bug 419324

Summary: Edit bundle resets bundle resources (Krita 4.2.9)
Product: [Applications] krita Reporter: noctualisart
Component: Resource ManagementAssignee: Tiar <tamtamy.tymona>
Status: ASSIGNED ---    
Severity: normal CC: halla
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description noctualisart 2020-03-28 03:19:25 UTC
SUMMARY
I just installed Krita version 4.2.9 and went to edit one of my brush bundles that I created. When I try to edit a bundle, it seems to save it, but when I hit edit bundle a second time the right panel is completely empty. This makes me think that it corrupts or empties the bundle when you save an edit. 



STEPS TO REPRODUCE
1. select a bundle that was imported
2. press edit bundle
3. change bundle then save bundle
4. press edit bundle again
5. observe right panel is empty

OBSERVED RESULT

I created the bundle in a previous version of Krita and when I opened the manage resource bundles window it showed in the active bundles section. I selected my bundle and hit edit bundle. It showed up normally and I took out a brush and added a new type of brush into the bundle and pressed save. Then I realized I had another edit so I hit edit bundle again. This showed the normal edit panel, with all the information on the left hand side filled out, but it reset all the brushes and brush presets so that it appeared to be an empty bundle. And my preview image turned red. 

EXPECTED RESULT
I expected that it would keep the brushes already selected for this bundle (as it did in previous versions of Krita)

SOFTWARE/OS VERSIONS
Windows: Windows 10
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION