https://bugs.kde.org/show_bug.cgi?id=476614

            Bug ID: 476614
           Summary: Specific color selector sets foreground color to black
                    when switching to HSL/HSI/HSY and does not set to
                    correct mode when restarting Krita.
    Classification: Applications
           Product: krita
           Version: 5.2.1
          Platform: Mint (Ubuntu based)
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Color Selectors
          Assignee: krita-bugs-n...@kde.org
          Reporter: summonluci...@proton.me
  Target Milestone: ---

Created attachment 162895
  --> https://bugs.kde.org/attachment.cgi?id=162895&action=edit
This image shows foreground color and the selector is not synced.

SUMMARY
***
Specific color selector sets foreground color to black when switching to
HSL/HSI/HSY and does not set to correct mode when restarting Krita.
***


STEPS TO REPRODUCE
1. Make sure the specific color selector is in HSV mode
2. Set foreground color to anything other than black and restart Krita
3. Open any RGB document to load the specific color selector docker
4. Click on the HSV dropdown and select HSL/HSI/HSY
5. Set foreground color to anything other than black and restart Krita again
6. Open any RGB document

OBSERVED RESULT
On the 3rd step when the specific color selector is loaded, the selector
sliders is in rgb mode with all 3 values at 0 despite the foreground color of
the active view being of a different color.
On the 4th step when selecting HSL/HSI/HSY, regardless of whether their radio
button is selected or not, the foreground color of the active view will change
to black.
On the 6th step after restarting Krita and opening any RGB document, the
foreground color will be set to black again. Moreover, the specific color
selector has been reset to rgb mode instead of the previously set HSL/HSI/HSY.

EXPECTED RESULT
On the 3rd step, specific color selector values should be in line with the
values of the foreground color.
On the 4th step, the specific color selector should not be setting the
foreground color based on its current slider values when switching to
HSL/HSI/HSY.
On the 6th step, the specific color should not reset back to rgb mode and
should not be setting the foreground value to its own like on the 4th step as
it tries to switch to HSL/HSI/HSY when restarting the application.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Mint 21.2 Cinnamon
(available in About System)
Krita Versions: 5.2.1 appimage and 5.2.0 appimage

ADDITIONAL INFORMATION
This is my first time posting a bug report here, so do let me know if I'm
missing critical information.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to