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 595170 - brush - color from gradient works wrong in greyscale
brush - color from gradient works wrong in greyscale
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Tools
2.6.6
Other All
: Normal normal
: 2.6
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2009-09-14 13:11 UTC by taclipoka
Modified: 2010-06-27 10:03 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description taclipoka 2009-09-14 13:11:11 UTC
When image is in greyscale brush painting with color from gradient works unexpectedly.

When in rgb mode color is going from black to white
When in greyscale mode color is going from white to light grey to white
Comment 1 Terence Moran 2009-09-15 20:29:12 UTC
Confirming in 2.6.7 on WinXP. Here's the steps I used to reproduce if it helps.

1. Open a new image (white background)
2. Select the Paintbrush tool, select "use color from gradient" and select a gradient. (I found that the effect was more noticeable using a coloured gradient, I used the "Mexican Flag smooth")
3. Paint a line across the screen.
4. Select Image > Mode > Grayscale
5. Paint another line of equal length.

Result: The two lines vary quite considerably.
Comment 2 Michael Natterer 2010-06-27 10:03:04 UTC
Fixed in master and 2-6:

commit 05f3a559b6e0c2b05f29e64800323d4327f4c6a0
Author: Michael Natterer <mitch@gimp.org>
Date:   Sun Jun 27 01:55:21 2010 +0200

    Bug 595170 - brush - color from gradient works wrong in greyscale
    
    Convert the gradient color to the drawable's type before using it.
    (manually cherry-picked from 15fd08747de7bfac29dd13550109c58f484bdb7a)