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 748060 - Force parameter on Tool Options is ignored when there is dynamics force
Force parameter on Tool Options is ignored when there is dynamics force
Status: RESOLVED OBSOLETE
Product: GIMP
Classification: Other
Component: Tools
git master
Other All
: Normal normal
: 2.10
Assigned To: GIMP Bugs
GIMP Bugs
: 741772 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2015-04-17 15:05 UTC by jose americo gobbo
Modified: 2016-11-27 16:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Force Parameter and ranges with a simple paint dynamic (26.17 KB, image/jpeg)
2015-04-17 15:05 UTC, jose americo gobbo
Details
Force Parameter on Tool Options - test with off paint dynamic, 8bit and 16bit images (64.12 KB, image/jpeg)
2016-09-13 18:48 UTC, jose americo gobbo
Details

Description jose americo gobbo 2015-04-17 15:05:22 UTC
Created attachment 301850 [details]
Force Parameter and ranges with a simple paint dynamic

I've some tests and it seems that the Force parameter on Tool Options is not working... I tested with a simple paint dynamic with opacity and force enabled (all linear curves)... with zero, 50 and 100 on Force parameter of the Tool Options... and the aspect of stroke is the same... for me is not possible see great differences.
Comment 1 Michael Natterer 2015-04-19 19:15:58 UTC
The dynamic force takes precedence over the tool options force. This seems
to be intended, but the UI doesn't suggest this in any way.
Comment 2 jose americo gobbo 2015-04-19 20:02:36 UTC
For example, in the current git master, the behaviour to Hardness on Tool Options is:
Paint dynamic with 'Off' the parameter, the Tool Options hardness cursor works alone (over a linear curve, perhaps);
Paint dynamic parameter 'On'... => imply a curve, the cursor of Hardness on Tool Options has an attenuation function over the paint dynamics Hardness curve.

With Force parameter on Tool Options UI happens as follow:
Paint dynamic parameter 'Off', the cursor don't make any transformation or gain in the brush;
Paint dynamic parameter 'On', only the curve works... the cursor of Force on Tool Options, don't make anything too.

Many parameters on Tool Options UI have an hybrid relationship with paint dynamics... Someone work alone, others alone and together, others only together with a dynamics.

+ The first case, only alone, are: Aspect Ratio, Spacing, Smooth stroke, Incremental (boolean, perhaps).

+ Second case(alone and together de paint dynamics), are :
Opacity, Size, Angle, Hardness, Force (in theory ;) and Jitter.

The third case [+]Dynamic Options on Tool Options UI:
It depends of the tool but we can the max of two parameters, the Fade and the Color.

In resume, for me, the Force, in the current status, don't make part of any of three cases.
Comment 3 jose americo gobbo 2015-04-19 20:05:59 UTC
> + The first case, only alone, are: Aspect Ratio, Spacing, Smooth stroke,
> Incremental (boolean, perhaps).

I intend 'alone' => always without dynamics.
Comment 4 jose americo gobbo 2015-04-19 20:15:53 UTC
> With Force parameter on Tool Options UI happens as follow:
> Paint dynamic parameter 'Off', the cursor don't make any transformation or
> gain in the brush;
> Paint dynamic parameter 'On', only the curve works... the cursor of Force on
> Tool Options, don't make anything too.

I've supposed here that the Force parameter is a kind of gain factor to amplify any curve 'on' the dynamics, for example, if you've Opacity(pressure)... the parameter Force will amplifies my opacity with gain factor obtained on Force(pressure) curve.
Comment 5 jose americo gobbo 2015-04-19 23:21:57 UTC
(In reply to jose americo gobbo from comment #4)
> > With Force parameter on Tool Options UI happens as follow:
> > Paint dynamic parameter 'Off', the cursor don't make any transformation or
> > gain in the brush;
> > Paint dynamic parameter 'On', only the curve works... the cursor of Force on
> > Tool Options, don't make anything too.
> 
> I've supposed here that the Force parameter is a kind of gain factor to
> amplify any curve 'on' the dynamics, for example, if you've
> Opacity(pressure)... the parameter Force will amplifies my opacity with gain
> factor obtained on Force(pressure) curve.

I've a short video to illustrate this case in particular... the link:
https://www.youtube.com/watch?v=qvS614DFR4k
Comment 6 Michael Natterer 2015-04-20 06:07:35 UTC
*** Bug 741772 has been marked as a duplicate of this bug. ***
Comment 7 Michael Natterer 2015-04-20 06:14:44 UTC
Yes, the relation between tool options values and dynamics is mostly
unclear without reading the code, and even then it's not very obvious,
this needs to be fixed/clarified.
Comment 8 jose americo gobbo 2015-11-09 22:22:35 UTC
The Hardness do not working too.
Comment 9 jose americo gobbo 2016-02-11 20:49:24 UTC
(In reply to jose americo gobbo from comment #8)
> The Hardness do not working too.

In the last GIT Master commit bb4f42f, the Hardness is working normally.
Comment 10 jose americo gobbo 2016-02-12 16:05:09 UTC
In the last GIT Master commit d51de65, the Force Parameter is working normally.

Perhaps the fix on the https://bugzilla.gnome.org/show_bug.cgi?id=761880 >
Paint Dynamics Editor's Mapping Matrix distorted by labels, has contribute to fix this bug too.
Comment 11 jose americo gobbo 2016-09-12 13:55:32 UTC
In the GIT Master commit 4df9a1d, the Force Parameter on Tool Options is working only together a paint dynamic curve on. I understand that Force slider must work also independently, if we have enabled a curve for this or not on paint dynamics editor.
Comment 12 Massimo 2016-09-13 07:42:17 UTC
(In reply to jose americo gobbo from comment #11)
> In the GIT Master commit 4df9a1d, the Force Parameter on Tool Options is
> working only together a paint dynamic curve on. I understand that Force
> slider must work also independently, if we have enabled a curve for this or
> not on paint dynamics editor.

Using the paintbrush tool with brush 'Hardness 025', size 51,
Dynamics Off and foreground color red.

Strokes on a white layer with Force 5, 10, 15 are clearly
different. Increasing more the force reaches soon the saturation.

I think the effect of the force parameter is not much noticeable
because in a 8bit world brushes are designed to be rather attenuated
than amplified and so unless you use brushes with many low values
you can't see its effect because it is capped.
         
Probably this feature was designed to be used with floating
point brush masks, painting on a floating point layer, so not
limited by the max value representable (255), (pressurizing
the mask now is done in 8 bit though).
Comment 13 jose americo gobbo 2016-09-13 18:47:08 UTC
I have made a test with GIMP Git Master commit 6fe900f. The bug is not present in this commit... apparently now is OK!
Comment 14 jose americo gobbo 2016-09-13 18:48:28 UTC
Created attachment 335468 [details]
Force Parameter on Tool Options - test with off paint dynamic, 8bit and 16bit images