Bug 502135 - KPL palette format is not working with Swatches groups and GPL Palettes are not working neither. Krita 5.2.9
Summary: KPL palette format is not working with Swatches groups and GPL Palettes are n...
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Dockers (show other bugs)
Version: 5.2.9
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-28 18:18 UTC by RamonMiranda
Modified: 2025-04-11 07:40 UTC (History)
1 user (show)

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


Attachments
Palette using Swatch Groups for Tutorials created in Krita 5.1.3 (12.39 KB, application/x-krita)
2025-03-28 18:53 UTC, RamonMiranda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description RamonMiranda 2025-03-28 18:18:32 UTC
SUMMARY
I can't use Swatch Groups with KPL palettes in  5.2.9 and GPL creation is not working properly. 
I can create normal KPL palettes and without groups everything seems to work fine. But KPL advantage is that we can rearrange groups so when i decided to go deeper with palettes i have found these issues for now. Thanks for your time.

STEPS TO REPRODUCE
1. Create a new palette. Select KPL format. untick Save palette to current document.
2. Go to edit current palette. Try to add a new swatch group. It seems to work, but the group doesn't appear.
3.  It creates a tag While you are editing the palette but not a swatch group. 

OBSERVED RESULT
No Swatch group is created. 
Tested in 5.1.3 and it works fine.

EXPECTED RESULT
New groups must appears normally like in 5.1.3

ISSUE WITH GPL palettes.
1. Create a new palette. Select GPL format. untick Save palette to current document.
2. Nothing Happens. 
Exit. from that window. 

1. Create a new palette. Select GPL format. tick Save palette to current document.
2. The palette is created.
3. Edit current palette  Try to add a Swatch group and even when is a GPL Palette creates a tag. Not the group

ADDITIONAL INFORMATION
If i can add some cents, for me 20 rows is two much by default. It can clutter really fast the docker. 2 rows will be more than enough in all the tests i have done. 

Next Step is to reproduce the same in Krita next.

SOFTWARE/OS VERSIONS
Windows: 10
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)

Krita

 Version: 5.2.9 (git ac6cae8)
 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_US, en_US, en_US, en_US
  C locale: C
  QLocale current: en
  QLocale system: es
  QTextCodec for locale: UTF-8
  Process ACP: 65001 (UTF-8)
  System locale default ACP: 1252  (ANSI - Latín I)
Comment 1 RamonMiranda 2025-03-28 18:28:38 UTC
Where Krita store Palettes only for that document? thanks.
Comment 2 RamonMiranda 2025-03-28 18:37:47 UTC
(In reply to RamonMiranda from comment #1)
> Where Krita store Palettes only for that document? thanks.

Tested too in Krita NExt. Version: 5.3.0-prealpha (git 8c9bd0a)
 Installation type: installer / portable package
 Hidpi: true

Is not working correctly. Also when you try to remove the palettes ,it seems to not delete the right one. Scary.
Comment 3 RamonMiranda 2025-03-28 18:46:53 UTC
I have tested also Krita 5.2.0 And it seems that is not working correctly.
Comment 4 RamonMiranda 2025-03-28 18:53:38 UTC
Created attachment 179825 [details]
Palette using Swatch Groups for Tutorials created in Krita 5.1.3

This palette covers everything basically. You can create scenes with good color combinations without knowing too much about color schemes. I posted here because it uses Swatch groups and you can play with it. 
About the making of is a long long history.
Comment 5 Halla Rempt 2025-04-11 07:40:21 UTC
I pushed a fix to make groups working with krita palettes yesterday.