Bug 446688

Summary: When using color sampler to add to palette, more colors can be added than there are rows or swatches.
Product: [Applications] krita Reporter: wolthera <griffinvalley>
Component: Resource ManagementAssignee: Krita Bugs <krita-bugs-null>
Status: REPORTED ---    
Severity: normal CC: halla
Priority: NOR Keywords: triaged
Version First Reported In: 5.0.0-beta2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description wolthera 2021-12-08 15:56:30 UTC
Steps:

1. Create a palette with a tiny row and column size, say 2x2
2. Use color sampler, select said palette, toggle 'add to palette'.
3. Now, select more colors than there are slots in the palette, for our example, that'd be 5. Note that the palette docker takes a bit to update.
4. Go into Edit Palette Dialog, increase row and column count.
5. Observe that the extra colors that had been picked are now shown.

Expected result:
I would expect the group row count to be increased if more colors are added than it has slots for.
Comment 1 Halla Rempt 2022-03-10 09:16:23 UTC
Can you even define the row/columns size for a palette anymore?
Comment 2 Halla Rempt 2022-03-10 09:17:41 UTC
Ah, missed that you'd need to edit it for that. I think that should go into the new palette dialog as well...
Comment 3 Halla Rempt 2022-04-06 13:59:34 UTC
No, I cannot reproduce this. The new picks all overwrite the currently selected swatch