Bug 476589

Summary: Adding new swatch group to palette with "save palette in current document" option crashes Krita.
Product: [Applications] krita Reporter: tomek
Component: * UnknownAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: darcy.litster, halla
Priority: NOR    
Version First Reported In: 5.2.1   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description tomek 2023-11-05 13:15:34 UTC
SUMMARY
***
Adding new swatch group to palette with "save palette in current document" option crashes Krita.
***

Video with reproduction available here (bug #2): https://www.youtube.com/watch?v=N4PbQcBxBV8

STEPS TO REPRODUCE
1. Open Krita and create new file
2. Add new palette with "save palette in current document" checked.
3. Click "edit current palette"
4. Click "Add a swatch group"
5. Click "OK".


OBSERVED RESULT
Group is not added to palette. Krita freezes for couple seconds and then closes.

EXPECTED RESULT
New swatch group should be created in palette.

SOFTWARE/OS VERSIONS
Windows: Windows 10 Home
Comment 1 Bug Janitor Service 2024-10-25 13:44:33 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/2260
Comment 2 Darcy 2025-04-10 19:27:32 UTC
I'm also having this exact same problem in Windows 11, but it happens regardless of whether or not "save palette in current document" is checked
Comment 3 Halla Rempt 2025-04-11 07:44:51 UTC
I fixed this yesterday, so it's not in a release yet.