Bug 335359 - "Use Color Mask" inverts values
Summary: "Use Color Mask" inverts values
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Brush engines (other bugs)
Version First Reported In: git master (please specify the git hash!)
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-26 09:47 UTC by Paul Geraskin
Modified: 2017-03-01 11:46 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
the imgur image (111.95 KB, image/png)
2017-03-01 11:45 UTC, Halla Rempt
Details

Note You need to log in before you can comment on or make changes to this bug.
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