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 610068 - Brush does not always respect "use gradient" or "fade out" option.
Brush does not always respect "use gradient" or "fade out" option.
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Tools
git master
Other All
: Normal normal
: 2.8
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2010-02-16 05:33 UTC by Laxminarayan G Kamath A
Modified: 2010-11-26 12:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Dynamics editor mockup :(just food for thought) (10.96 KB, image/jpeg)
2010-02-16 08:47 UTC, Laxminarayan G Kamath A
Details

Description Laxminarayan G Kamath A 2010-02-16 05:33:58 UTC
Using commit : 94271a00e6119d47432fb7c19b36d5e03c009db1

When testing out GIMP, I found something odd. the fade out and "apply gradient" would sometimes work and sometimes not. After fiddling around for a while, I realized the pattern:
 * The "fade out" worked if the "Brush dynamics" was set to "Basic Dynamics", but the "use colors from gradient" option would not work.
 * The "fade out" option wouldn't have effect if "Brush dynamics" was set to "Random Color", but "use colors from gradient".  
 * Neither "fade out" not "use colors from gradient" would work if "Brush dynamics" was set to "Dynamics off" 

That seemed quite consistent, and I felt are enough too get a clue what is going wrong. So I did not test further. 

Steps to reproduce:

1) Make sure brush settings are on defaults.
2) Create a new image.
3) Switch brush dynamics to "Dynamics off".
4) Set the "fade out" option. 
5) Make a stroke.
 * Notice that the "fade out" option did not have effect.
6) Set the "Use colors from gradient" option and choose some colorfull gradient(to make testing easy).
7) Make a stroke.
 * Notice that the "Use colors from gradient" option did not have effect
8) Set the "brush dynamics to "basic dynamics".
9) Make a stroke
 * notice that now "fade out" works, but "use colors from gradient" does not.
10) Set the "brush dynamics" to "Random colors"
11) Make a stroke
 * notice that now "fade out" does not work, but "use colors from gradient" works.

That (for me) confirmed that there is some relation  between "brush dynamics" and the working/non-working conditions of Paint brush options and I left it at that. Please tell me if you need more info or any other tests.
Comment 1 Laxminarayan G Kamath A 2010-02-16 08:47:51 UTC
Created attachment 153904 [details]
Dynamics editor mockup :(just food for thought)
Comment 2 Laxminarayan G Kamath A 2010-02-16 08:48:07 UTC
After a session on irc, I was completely shocked to learn this is an .. ehhem .. "UI decision". I am not a dev good enough to implement what I suggest, but I guess my revamp suggestion will at least be a food for thought. And the "fade out" and "use gradients" options move to such a dockable as presented in the mockup. (mocckup attached)
Comment 3 Michael Schumacher 2010-02-16 12:38:02 UTC
Reducing severity.
Comment 4 Laxminarayan G Kamath A 2010-02-17 20:16:15 UTC
Okie .. during more IRC sessions, I came across http://gui.gimp.org/index.php/Paint_dynamics_specification which seems to be good enough. Sorry guiguru for all the rants :-)
Comment 5 Michael Natterer 2010-11-26 12:08:27 UTC
Fixed in master by removing the toggles from the tool options.
Gradient and Fade can now only be enabled via dynamics

commit 904048cdcbdd47b5fb896c2dfc4431b7ee60ff9c
Author: Alexia Death <alexiadeath@gmail.com>
Date:   Wed Nov 24 23:34:00 2010 +0200

    app: Clearly present Fade and Color dynamics options as such

 app/core/gimpdynamicsoutput.c    |   30 ++----
 app/paint/gimppaintoptions.c     |  238 ++++++++++++++++----------------------
 app/paint/gimppaintoptions.h     |    4 +-
 app/tools/gimppaintoptions-gui.c |  131 ++++++++++-----------
 4 files changed, 174 insertions(+), 229 deletions(-)