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 778597 - Eraser paints transparent areas with BG color
Eraser paints transparent areas with BG color
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Tools
git master
Other All
: Normal major
: 2.10
Assigned To: GIMP Bugs
GIMP Bugs
: 778756 778777 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2017-02-14 09:56 UTC by aligari
Modified: 2017-02-16 18:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot -> eraser tool - mistake of wipe (2.45 MB, video/ogg)
2017-02-14 09:56 UTC, aligari
Details

Description aligari 2017-02-14 09:56:13 UTC
Created attachment 345711 [details]
screenshot -> eraser tool - mistake of wipe

92/5000
Eraser while wiping paint the background color on the part of the transparent layer - alpha channel.

Important: I join a screenshot.

GIMP compilation: morning today.
Comment 1 Michael Natterer 2017-02-14 10:25:18 UTC
Fun :) Must be a glitch in the recent layer mode refactoring.
Comment 2 Michael Natterer 2017-02-14 22:05:16 UTC
Fixed in master:

commit 57360a0ddcf6893808a005b59fdbe7e91fd822ad
Author: Michael Natterer <mitch@gimp.org>
Date:   Tue Feb 14 22:51:47 2017 +0100

    Bug 778597 - Eraser paints transparent areas with BG color
    
    Add a "paint_composite_mode" field to GimpLayerModeInfo and set the
    mode of the eraser to SRC_ATOP. Defaulting to SRC_OVER for all
    painting didn't quite do it for all modes.

 app/operations/layer-modes/gimp-layer-modes.c | 94 +++++++++++++++++++++++++++++++++++++++++++-
 app/operations/layer-modes/gimp-layer-modes.h |  2 +
 app/paint/gimppaintcore-loops.c               |  2 +-
 app/paint/gimppaintcore.c                     |  2 +-
 4 files changed, 97 insertions(+), 3 deletions(-)
Comment 3 Michael Natterer 2017-02-16 11:48:58 UTC
*** Bug 778756 has been marked as a duplicate of this bug. ***
Comment 4 Michael Natterer 2017-02-16 18:04:21 UTC
*** Bug 778777 has been marked as a duplicate of this bug. ***