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

            Bug ID: 475552
           Summary: Specific Color Selector changes value (luma) when
                    changing hue in HSY mode
    Classification: Applications
           Product: krita
           Version: 5.2.0
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Color Selectors
          Assignee: krita-bugs-n...@kde.org
          Reporter: oktop...@gmail.com
  Target Milestone: ---

Created attachment 162268
  --> https://bugs.kde.org/attachment.cgi?id=162268&action=edit
Colors from my example. Top color is the base color, bottom left is from
Specific Color Selector to green, bottom right is from Wide Gamut Color
Selector to green

SUMMARY
When using the HSY color model for the Specific Color Selector, changing the
hue also changes the value (Y / Luma is what I mean when saying value
throughout), which differs from the expected behavior according to the Wide
Gamut Color Selector.

STEPS TO REPRODUCE
1. Open the Specific Color Selector and the Wide Gamut Color Selector dockers
2. Configure the Wide Gamut Color Selector to use HSY as the color model, and
an appearance that lets you separately modify value like the the last one that
is a vertical value strip with the color cube of hues going left to right and
saturation going up and down
3. Configure the Specific Color Selector to use HSY by selecting the RGB color
model and adjusting it in the bottom left off of RGB to HSV -> HSY in the
dropdown
4. Input a color like #946411 to the Specific Color Selector and paint a stroke
5. Use the hue slider to change the color towards green, like to #119b4f, and
paint a stroke
6. Reset the color back to #946411 with the Specific Color Selector
7. Use the Wide Gamut Color Selector to change the hue towards green, like to
#0f7f2a (saturation is slightly different from the original color, but the
issue is reproduced without needing to be perfect), and paint a stroke

OBSERVED RESULT
The two adjusted colors, from the two different HSY color selectors, are a
different value even though only hue was modified in both.

If you color select the original + Specific Color Selector color then the Wide
Gamut Color Selector's value slider jumps up but the former's remains at the
same numeric value . If you color select the original + the Wide Gamut Color
selector color then the Specific Color Selector's value changes (~10% for my
example) but the former's remains at the same vertical value position.

EXPECTED RESULT
I would expect the two color selectors to choose the same colors when
manipulating the same aspect of the color, so changing only the hue on either
would not adjust the value to this degree when using the HSY color model.

I used the default perceptual grayscale color proofing toggle to check the
values as well, and confirmed that the ones from the Wide Gamut Color Selector
are all roughly the same value but the ones from the Specific Color Selector
change to different values (in my example, to a lighter one).

So it seems like the Wide Gamut Color Selector is the expected behavior here
for the resulting colors from what I can see.

SOFTWARE/OS VERSIONS
Windows: Windows 10 22H2 19045.3448
Qt Version: 5.15.7

ADDITIONAL INFORMATION

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

Reply via email to