PALETTES
Tested with the nightly 1c72b2c.
Given tests:
- Palette docker (Add a color)

- Palette docker (Modify this spot)

- Palette docker (Edit this palette)

- Palette docker (Delete color)

- Palette docker (Changing the palette)

- Color Picker (Pick color from canvas into the palette)
- Not sure what’s meant with this — when I ctrl+click a colour from the canvas, the colour in the palette that’s closest to that colour gets highlighted. But this doesn’t add a new colour to the palette.
- Palette docker - palettes (Add a new palette - in resources)

- Palette docker - palettes (Add a new palette - in a document)

- Palette docker - palettes (Export current palette to file)

- Palette docker - palettes (Import a new palette from file)

- Palette docker - palettes (Remove current palette)

- Palette docker (Edit palette to have less columns)
Weirdness when colors present
- Create a new palette, which has 16 colums by default
- Add 8 colors to the first row
- Reduce the column count to be less than 8, for example 6
- The last two colours that don’t fit in the row are all the way at the bottom of the palette. I’d expect the two colours to be in row 2.
- Bring column count back up to 16
- The last two colours are still all the way at the bottom. I’d expect everything to be back as it was before resizing.
- Color Sampler (Update view in Palette docker when the user uses color sampler to add swatches)
Palette docker doesn’t update
- If the docker and the palette is visible while you sample colours, the palette doesn’t update. (Or sometimes updates, but incomplete or “a step behind”)
- Switching to another palette and back then shows the correct palette with all the colours added with the sampler
- Palette docker (Color Sampler + Palette docker)
- Not sure how this is different from the test above
- Palette docker (Create a new palette)

- Saving

- Color Sampler (Use “save to palette” on a custom palette, close and reopen Krita)

Additional tests:
- Palette docker - assign tag to palette

- Palette docker - filter by tag

- Palette docker - edit this palette - add group
Krita hangs
- Click on “Edit this palette”
- Click “Add Group” and confirm with “OK”
- Click “Add Group” again and confirm with “OK”
- Confirm the edit palette dialog with OK
- Krita hangs in an endless busy loop, printing “updating the palette model inside the palette editor object” in the console
- Palette docker - select a palette
Can’t select first palette
- Open an image with the palette docker open, initially there should be no palette selected
- Try to select the first palette in the palette dropdown — can’t be selected because it’s already highlighted and clicking on it is a no-op.
- Clicking on a different palette and then on the first one works
Gamut masks to follow tomorrow. ![]()
