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

            Bug ID: 518199
           Summary: Mutator can get stuck on the same color and no longer
                    update
    Classification: Applications
           Product: krita
      Version First 5.3.0
       Reported In:
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Dockers
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

SUMMARY

The Mutator plugin can mutate into a color and then get stuck on that color, no
longer mutating to a new color.

I can confirm it happens for me in at least these cases:

- Value is minimum (black) or maximum (white)
- Saturation is minimum value (no saturation)

When it happens, in the Log Viewer docker I see the following message on every
mutation: "QColor::setHsvF: HSV parameters out of range"

STEPS TO REPRODUCE
1. Create a new document
2. Open Settings -> Docker -> Mutator
3. Open Settings -> Docker -> Wide Gamut Color Selector
4. In the Wide Gamut Color Selector docker, choose pure black
5. In the Mutator docker, set Hue Mutation, Saturation Mutation, and Value
Mutation to 50%
6. In the Mutator docker, click Mutate

OBSERVED RESULT

No mutation occurs, even when repeating the last step infinite times.

EXPECTED RESULT

A mutation on the selected color should happen across Hue, Saturation, and
Value to some degree, like what happens if you choose any color with a
non-bounds value or non-0 saturation.

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

ADDITIONAL INFORMATION

I am using the HCY' color model with the Wide Gamut Color Selector, but I
reproduced it with HSV as well.

You can also skip selecting a specific color and just press the Mutate button
or shortcut key enough times for one of the affected colors to become chosen
(as long as Saturation Mutation or Value Mutation are a high enough
percentage). I initially ran into this by accident that way, by holding down
the shortcut key until it stopped doing anything.

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

Reply via email to