Bug 381177 - Krita doesn't update the color wheel in the selector dialog when manually typing in 8-bit color values
Summary: Krita doesn't update the color wheel in the selector dialog when manually typ...
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Color Selectors (show other bugs)
Version: 3.1.4
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
: 384744 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-06-14 02:42 UTC by Joshua Kinard
Modified: 2017-11-23 10:05 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screencap of the Krita color selector dialog displaying confusing behavior (38.61 KB, image/png)
2017-06-14 02:42 UTC, Joshua Kinard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joshua Kinard 2017-06-14 02:42:33 UTC
Created attachment 106091 [details]
Screencap of the Krita color selector dialog displaying confusing behavior

In addition to the crash I reported in Bug #381176, I also noticed another oddity.  If I open the color selector from the top toolbar and try to manually type in 8-bit RGB values, the color ring will turn all black when I type the third color.

As far as I can tell, it looks like Krita is expecting something closer to 16-bit RGB values, not 8-bit, and as such, it's treating the numbers I input as extremely low 16-bit values, thus showing black.  That's a guess, though.  My other paint/image programs only work with 8-bit RGB values, and there are a few tasks I do in Krita now after giving up on Gimp.

So when I need to do something in Krita using a color, I thought I could just hand-type the 8-bit RGB values in and Krita just rolls with them, but that doesn't seem to be the case?  Thus, it is difficult to determine if this would be a legit bug or not.  But it is, at minimum, confusing behavior.

Additionally, even when I type in the three 8-bit RGB values, the hex #rrggbb field looks wrong.  If Krita only supports 16-bit values, I'd expect the "Color name" field to use a format of #rrrrggggbbbb, but it is instead only displaying the #rrggbb hex format one would expect of 8-bit color values.

If I use the "Specific Color Selector" pane on the right-side of the screen and type my 8-bit RGB values in there, that gets everything right, including the #rrggbb hexadecimal value.  So the issue in this case seems limited to the popup dialog box version of the color selector.

Screenshot attached.
Comment 1 Halla Rempt 2017-09-15 14:12:49 UTC
*** Bug 384744 has been marked as a duplicate of this bug. ***
Comment 2 Halla Rempt 2017-11-23 10:05:05 UTC
I fixed this at the same time as I fixed the initialization of the color dialog.