Bug 447494 - Swatch highlights and their denoting swatch name often aren't updated accordingly on color selection
Summary: Swatch highlights and their denoting swatch name often aren't updated accordi...
Status: REPORTED
Alias: None
Product: krita
Classification: Applications
Component: Usability (show other bugs)
Version: 5.0.0
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-25 01:48 UTC by tomtomtomreportingin
Modified: 2022-03-08 13:26 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 tomtomtomreportingin 2021-12-25 01:48:40 UTC
SUMMARY
It is often a bit annoying to use the palette docker, especially with palettes using many similar colors, due to the fact that swatch highlights and the name of the currently highlighted swatch aren't updated accordingly in at least a few cases. This is not a regression of Krita 5.

Some cases I've noticed:
* There is no swatch highlight nor an appropriate swatch name denoted in the palette docker when starting Krita.
* There is no swatch highlight in the palette docker when creating a new image.
* The current swatch name isn't updated when selecting a new color through a method outside of the palette docker (e.g. color picking or using the color selector).
* (Perhaps intentional) There is no swatch highlight nor a corresponding swatch name denoted when selecting a new palette.

Some of these cases also affect the color selector dialog.

STEPS TO REPRODUCE:
1. Select Default palette.
2. Select Black 0%.
3. Restart Krita.
4. Observe the palette docker.

OBSERVED RESULT
There is no swatch highlight and the Amazon swatch is denoted despite not being selected nor highlight.

EXPECTED RESULT
Black 0% should be highlighted and denoted as it's the selected color.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian sid
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.88.0
Qt Version: 5.12.12 (appimage)
Comment 1 tomtomtomreportingin 2021-12-25 01:54:50 UTC
Couple more cases:
* There is no swatch highlight nor an appropriate swatch name when selecting a new workspace.
* There is no swatch highlight when selecting another document.
Comment 2 Halla Rempt 2022-03-08 13:26:05 UTC
Hm, the reason no swatch is selected when selecting a color in the color selector is that it would limit the color selector to only the colors that are in current palette. There actually is an option that enforces that (configure krita->color management->General ->Enforce palette colors).

I feel we should close the report as Intentional, though it would be useful to have the enforce palette colors as a toggle button in the palette docker instead of as an option deep in the configure krita dialog.