Bug 451072

Summary: Krita 5.1.0 prealpha : issue with the color indicator from the options bar in mask mode
Product: [Applications] krita Reporter: stephen <tgdev001>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: minor CC: halla
Priority: NOR    
Version First Reported In: nightly build (please specify the git hash!)   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Maskmode color indicator issue

Description stephen 2022-03-03 08:28:45 UTC
Created attachment 147253 [details]
Maskmode color indicator issue

SUMMARY
There's an issue with the color indicator on the option bar when you paint in mask mode( check image for reference ).

STEPS TO REPRODUCE
1. paint data on a new layer
2. apply transparency mask or any mask you'd like
3. highlight the mask layer in the layer stack
4. With black vs white selected as primary and secondary colors, try to paint/erase the mask

OBSERVED RESULT
The primary/secondary color indicator on the option bar fails to show white color when you pick white color
and shows dark grey instead of white.

EXPECTED RESULT
selecting white color should update the color indicator on the option bar and show white on it instead of dark grey.

SOFTWARE/OS
Windows 10 21H1
Krita : 5.1.0 prealpha git 63935b8
Comment 1 Halla Rempt 2022-03-03 09:06:56 UTC
Hi, I'm sorry, but this is not a bug. Masks are not black/white but grayscale. The color selector shows the gray value of the currently selected color, instead of getting reset to white/black. So, the position of the color selection dot in the color triangle stays the same.