Bug 446688 - When using color sampler to add to palette, more colors can be added than there are rows or swatches.
Summary: When using color sampler to add to palette, more colors can be added than the...
Status: REPORTED
Alias: None
Product: krita
Classification: Applications
Component: Resource Management (show other bugs)
Version: 5.0.0-beta2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2021-12-08 15:56 UTC by wolthera
Modified: 2022-04-06 13:59 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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