Bug 498740

Summary: Crashes Krita when trying to create swatch group in Palettes that are saved in the current Document
Product: [Applications] krita Reporter: Mucky <muckyaibus2024>
Component: DockersAssignee: Krita Bugs <krita-bugs-null>
Status: REPORTED ---    
Severity: crash CC: muckyaibus2024
Priority: NOR    
Version First Reported In: 5.2.6   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: The crash log for trying to create swatch group(s) in palette with "Save in the current document" selected when creating
All the Information from Report, You have a lot of this information already but not all of it

Description Mucky 2025-01-16 13:45:03 UTC
Created attachment 177407 [details]
The crash log for trying to create swatch group(s) in palette with "Save in  the current document" selected when creating

SUMMARY
Trying to create swatch groups for palettes with the "Save in  the current document" selected, Crashes krita for me, everytime. 
And if the  "Save in  the current document" is not selected when you create the palette, when trying to create swatch groups does not do anything , (after clicking Ok, i only get * popping up before the palette name at bottom of docker and that is it, does not change palette at all)

I'm using Krita on Pc (using Steam)

STEPS TO REPRODUCE
1. I've tested it by adding a new palette  (Click Add new palette button, after clicking the "load a palette" button on the palette docker)
2. Make sure "Save in  the current document" is selected when creating (Name it anything)
1.  with the created new palette selected, click on Edit current palette on palette docker
2. Click add a swatch group create a group
3. click Ok (then it crashes) (if "Save in  the current document" is not active on palette it don't crash but don't create a swatch group either)

SOFTWARE/OS VERSIONS
Windows 10

Krita

 Version: 5.2.6 (git ab3502b)
 Installation type: installer / portable package
 Hidpi: true

Qt

  Version (compiled): 5.15.7
  Version (loaded): 5.15.7

OS Information

  Build ABI: x86_64-little_endian-llp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: winnt
  Kernel Version: 10.0.19045
  Pretty Productname: Windows 10 Version 2009
  Product Type: windows
  Product Version: 10

Locale

  Languages: en_GB, en_Latn_GB, en_US, en, en_Latn_US
  C locale: C
  QLocale current: en-GB
  QLocale system: en-GB
  QTextCodec for locale: UTF-8
  Process ACP: 65001 (UTF-8)
  System locale default ACP: 1252  (ANSI - Latin I)

Krita

 Version: 5.2.6 (git ab3502b)
 Installation type: installer / portable package
 Hidpi: true

Qt

  Version (compiled): 5.15.7
  Version (loaded): 5.15.7

OS Information

  Build ABI: x86_64-little_endian-llp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: winnt
  Kernel Version: 10.0.19045
  Pretty Productname: Windows 10 Version 2009
  Product Type: windows
  Product Version: 10

Locale

  Languages: en_GB, en_Latn_GB, en_US, en, en_Latn_US
  C locale: C
  QLocale current: en-GB
  QLocale system: en-GB
  QTextCodec for locale: UTF-8
  Process ACP: 65001 (UTF-8)
  System locale default ACP: 1252  (ANSI - Latin I)
Comment 1 Mucky 2025-01-16 13:59:02 UTC
Created attachment 177412 [details]
All the Information from Report, You have a lot of this information already but not all of it

This is what Krita wanted me to me paste on to the report when i selected Report Bug on the help menu, You have a lot of this information already but not all of it