[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [krita] [Bug 337133] Popup Palette color triangle goes monochrome if any gray selected. Hue resets t
From:       vanyossi <ghevan () gmail ! com>
Date:       2014-07-06 4:37:26
Message-ID: bug-337133-17878-bLBOXNnRD1 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

--- Comment #2 from vanyossi <ghevan@gmail.com> ---
Created attachment 87589
  --> https://bugs.kde.org/attachment.cgi?id=87589&action=edit
Short patch to reveal behaviour

This silly patch I made to reveal what was happening to hue for the triangle to
do that.
The paintevent function stops after one iteration in any normal
KTriangleColorSelector.

In displayRenderer KoTriangle the paintevent is run until hue value becomes
"-1" (I suppose a NULL). The patch added a check and a counter. The check looks
if hue is = to -1 and sets the hue to the previous known value. This works ok
to avoid loosing hue information. But since the functions stops when -1 is
reached, with this silly control it never stops running. The counter shows the
increasing growth.

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic