Bug 450354 - Color changing shortcuts steps become uneven when selecting a new color after startup
Summary: Color changing shortcuts steps become uneven when selecting a new color after...
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Shortcuts and Canvas Input Settings (show other bugs)
Version: 5.0.2
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-16 01:27 UTC by Scroptels Gluzar
Modified: 2023-06-15 11:33 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 Scroptels Gluzar 2022-02-16 01:27:00 UTC
SUMMARY
The steps set by the color changing hotkeys get off-set when picking a new color after opening krita

STEPS TO REPRODUCE
1. Close & open Krita (if open) and make a new document.
2. Before anything else let's check the values of our color precicely. Open the color selector (the one get by clicking on the foreground color), then selecting "HSV". DO NOT SELECT A COLOR YET

3. On the canvas we can paint, then press the K and L (darken and lighten), or any of the color changing keys , as we do we can see the amout of steps after each press stays the same no matter how much we press it**

4. If we select a color in the color selector or pick any color on the canvas with the color picker the step values get messed up permanently. As we press the K or L Key the values get slightly offset, if we continue to press them the values start to add up, and we end up with a completly different color. There' no way to reverse this glitch.

OBSERVED RESULT
Once we select a color after starting up krita the steps between each key press becomes uneven, this makes it imposible to select the previous values of a color by pressing the keys, we will always get a completly new value as or main color

As far as I've tested The only color selector tool that doesn't cause this bug to happen is the Artistic Color Selector, if we select any color swatch there and start pressing the keys, we still get even amounts on every step.

NOTE: The amount of change in every step is determined in the Advanced Color Selector under "Color Hotkeys" 

EXPECTED RESULT
The key's should be consistent, the color step value shouldn't get off-set after every key press, the artist should be able to select the exact same value when pressing one key (L) and then the oposite one (K )to go back to painting with the same color.

SOFTWARE/OS VERSIONS
Windows: Windows 11
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Halla Rempt 2022-03-03 14:44:26 UTC
Relevant merge request: https://invent.kde.org/graphics/krita/-/merge_requests/1355
Comment 2 Halla Rempt 2023-06-15 11:33:33 UTC
The new color selector has been merged.