Bug 335359

Summary: "Use Color Mask" inverts values
Product: [Applications] krita Reporter: Paul Geraskin <paulgeraskin>
Component: Brush enginesAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: dimula73, halla
Priority: NOR    
Version First Reported In: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: the imgur image

Description Paul Geraskin 2014-05-26 09:47:25 UTC
Hi devs.

In ClipBoard Brush "Use Color Mask" inverts values. Right now black=1.0 and white=0.0. 
But it should be white=1.0 and black=0.0.

http://i.imgur.com/cS9CbXW.png

Dmitry confirmed this is should be as white=1.0 and black=0.0.

Thanks.
Comment 1 Dmitry Kazakov 2014-06-20 12:17:39 UTC
Hm... it seems like the problem is a bit more deep. For the rest of the brushes we use white for transparent and black for opaque. Though in selections we use reverse. Actually, the latter way is a standard for selections in other applications.

Probably, we should add something like "Invert" checkbox to "Clipboard" and "Custom" brush tips?
Comment 2 Paul Geraskin 2014-06-20 12:29:20 UTC
The checkbox would help too. 
If there is noway to refactor - then checkbox is ok 100%.
Comment 3 Halla Rempt 2016-04-16 13:17:41 UTC
https://phabricator.kde.org/T2085
Comment 4 Halla Rempt 2017-03-01 11:45:44 UTC
Created attachment 104290 [details]
the imgur image
Comment 5 Halla Rempt 2017-03-01 11:46:19 UTC
resolved in https://phabricator.kde.org/T2085