Bug 462019 - Palette color selection doesn't update with keyboard navigation
Summary: Palette color selection doesn't update with keyboard navigation
Status: ASSIGNED
Alias: None
Product: krita
Classification: Applications
Component: Color Selectors (show other bugs)
Version: 5.1.3
Platform: Other Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Halla Rempt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-19 08:20 UTC by oktopuse
Modified: 2022-12-08 14:45 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 oktopuse 2022-11-19 08:20:21 UTC
SUMMARY

STEPS TO REPRODUCE
1. Open any file
2. Open the Palette docker
3. Confirm the Default palette is open
4. Select any color with the mouse
5. Press the arrow keys to move around

OBSERVED RESULT
The selection border changes when navigating around with the arrow keys in the palette but the selected swatch itself doesn't change (Krita's color selectors still show the old value, the swatch name at the bottom of the docker stays as the old swatch name, if you paint on the canvas it still uses the old color).

If you click the edit button in the docker after navigating with the arrow keys, then it actually chooses the one you have visibly selected (but not actually selected according to the swatch name in the docker).

EXPECTED RESULT
The selected color should change when navigating with the arrow keys so that Krita's selected color, the swatch name in the docker, the swatch editing button, etc. all align.

SOFTWARE/OS VERSIONS
Windows: 10
Qt Version: 5.12.12
Comment 1 Halla Rempt 2022-12-08 14:45:52 UTC
Thank you for the report. I can confirm the issue. I will assign myself since I was rewriting the palette code anyway.