After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 770171 - Mypaint eraser won't work unless there is an alpha channel
Mypaint eraser won't work unless there is an alpha channel
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Tools
git master
Other All
: Normal normal
: 2.10
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2016-08-20 17:22 UTC by Roumeissa Kitouni
Modified: 2016-09-03 13:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Roumeissa Kitouni 2016-08-20 17:22:46 UTC
Steps to reproduce: 
1- Create a new image, and draw/write something on it.
2- Go to Mypaint brushes, select a brush, and check in the tool's options "Erase with this brush"
3- Try erasing.

Result: nothing happens.
Adding an alpha channel makes it work just fine, though.
Comment 1 Michael Natterer 2016-08-20 18:17:11 UTC
Indeed, on layers without alpha, it should erase to the background color.
Comment 2 Michael Natterer 2016-09-03 13:49:11 UTC
commit f40e36ffabefa30abcf36b71fe2ee73312631962
Author: Michael Natterer <mitch@gimp.org>
Date:   Sat Sep 3 15:48:02 2016 +0200

    Bug 770171 - Mypaint eraser won't work unless there is an alpha channel
    
    In eraser mode, paint with the background color on layers without alpha.

 app/paint/gimpmybrushcore.c | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)