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

            Bug ID: 452635
           Summary: Dragging out of the color selector popup's bounds
                    resets the Advanced Color Selector to red
           Product: krita
           Version: unspecified
          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 148168
  --> https://bugs.kde.org/attachment.cgi?id=148168&action=edit
Screenshot of Krita with the Advanced Color Selector + "Show color selector"
popup while clicking + dragging to the left of the popup's area withotut
releasing yet

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug
symbols.
See
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

This is for version 5.0.5, but that's not listed as an option for me yet.

STEPS TO REPRODUCE
1. Open Advanced Color Selector docker
2. Click the icon to configure it
3. Select HSY' as the Color Model Type
4. Select the fifth color selector shape (value / saturation rectangle for one
hue, with a hue strip at the top)
5. Click OK
6. Select some color like a teal in the Advanced Color Selector
7. Use the "Show color selector" hotkey
8. Click and drag on the popup's color selector until the cursor goes off to
the left side, the top side, or the bottom side (the right side is fine)
9. See the Advanced Color reset to red (furthest left on the hue strip)
10. Without releasing the mouse button, drag back into the popup's color
selector and see it return to the expected color
11. Continue dragging out of the popup until the color reset to red happens
again and release the click
12. Change the color on the Advanced Color Selector back to teal or some
non-red color
13. Use the "Show color selector" hotkey
14. See the popup's color selector is for red now and not the color in the
Advanced Color Selector

OBSERVED RESULT
Similar to bug 452422, the Advanced Color Selector and the "Show color
selector" hotkey's popup color selector get out of sync + dragging outside of
the popup's color selector area causes the Advanced Color Selector to reset its
hue value.

EXPECTED RESULT
Clicking then dragging outside of the popup's color selector shouldn't change
the hue of the Advanced Color Selector (they should stay in sync) and after
releasing / selecting a color in the popup and changing it in the Advanced
Color Selector the popup should reflect the newly selected color as well.

SOFTWARE/OS VERSIONS
Windows: Windows 10, Version 21H1, OS Build 19043.1645
macOS: N/A
Linux/KDE Plasma: N/A
(available in About System)
KDE Plasma Version: N/A
KDE Frameworks Version: N/A
Qt Version: 5.12.12

ADDITIONAL INFORMATION
I found this as I was trying to select a grayscale value (clicking and dragging
furthest left in the rectangle) and noticed it kept resetting my hue if I tried
to do that via the popup rather than the Advanced Color Selector directly.

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

Reply via email to