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 740806 - add useful brush size sets
add useful brush size sets
Status: RESOLVED OBSOLETE
Product: GIMP
Classification: Other
Component: Tools
2.8.14
Other All
: Normal enhancement
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2014-11-27 12:58 UTC by Jo
Modified: 2018-05-24 14:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Scripted Brush size setting (105.00 KB, application/x-compressed-tar)
2016-08-09 12:30 UTC, Jo
Details

Description Jo 2014-11-27 12:58:32 UTC
I made the experience that it is really useful to switch between different brush sizes, (like: very small, small, medium, big, very big) in fullscreen mode and the tools hided. (There's never enough space for our image)

Example.
Lets assume we start with an arbitrary brush size, lets say of 12. (very small) Now, if we click a shortcut key once, we get a brush size of 24, then of 48, 96, 192, and returning again back to 12.
Comment 1 Jo 2015-10-16 21:09:06 UTC
the reason i suggested this enhancement is that quick shortcuts are always welcome - time is short
A improvement like this would be very user-friendly and a very quick way to size a brush
Comment 2 Michael Schumacher 2015-10-22 11:05:50 UTC
This would basically be "shortcuts for tool presets".
Comment 3 Jo 2015-11-03 11:44:06 UTC
(In reply to Michael Schumacher from comment #2)
> This would basically be "shortcuts for tool presets".

Hm… id like to agree with you, but i guess no, tool presets arent meant - the concept is to change a brush size using only one shortcut in repetition till you get the desired size.
Comment 4 Michael Schumacher 2015-11-03 22:56:18 UTC
Well, it is presets that are used to control settings like the brush size these days.
Comment 5 Jo 2015-11-04 11:20:42 UTC
>Well, it is presets that are used to control settings like the brush size these days.

yours isn't a bad idea, the only problem with it would be a very long list of presets, just to scale some brushes in 5 different sizes each. 

Introducing a generic command to cycle between 5 different sizes is much easier:

The code would double the size of a given brush scale after each iteration, falling back to very small after the 5th iteration. (very small, small, medium, big, very big) The question is rather how to define numerically the smallest scale factor. 

#as user defined, fixed number
#using the scale factor of the current brush in use 
#relative to the shortest side of the canvas using percent, like 5%,10%,20%,40%,80%  to define the scale factor
Comment 6 Michael Schumacher 2015-11-10 11:54:01 UTC
Note that doing that as presets will make it possible for the user to adjust thei size steps - and maybe also to swap our different sts of steps depending on the work they are creating.
Comment 7 Alexandre Prokoudine 2015-11-13 10:32:49 UTC
Wouldn't it be simpler to add configuration for size of steps instead?

Right now we can already map shortcuts to commands like Increase/Decrease Brush Size Less/Relative/More, where e.g. More = 10px.

So if you can set 'more' to equal 20, you can easily go from 40 to 80 in two clicks.

Besides, aren't we gonna be bugged that we only support 5 sizes to switch between? Someone somewhere will always ask for 7, 10, and more.
Comment 8 Michael Schumacher 2015-11-13 11:42:37 UTC
(In reply to Alexandre Prokoudine from comment #7)

> Besides, aren't we gonna be bugged that we only support 5 sizes to switch
> between? Someone somewhere will always ask for 7, 10, and more.

This is why I'd prefer to switch through presets.
Comment 9 Jo 2015-12-01 23:19:58 UTC
already the title of this enhancement says it: useful = fast, small, easy. Offering too much options is confusing, less useful and slow.

What means that ?
1- to limit the number of scale steps  
2- to use one shortcut to control progressive brush scaling (loop forward)
3- use another shortcut key for regressive brush scaling (loop back )
4- to scale brush sizes with dimensions to cover -basic- scaling sizes 
5- use one or more options to control the scaling, like described in comment 5
6 - scaling with effective changes, doubling always the last value - fine tuning is added with the use of dynamics
Comment 10 Jo 2016-04-02 20:27:11 UTC
i read about bug 737570
maybe this report becomes in part obsolete.

a controlled brush scaling would be useful, so that the brush snaps in to different sizes. 
idea: very small-small-medium-big-very big 
i would say 500 is enough for very big, all values over this are special brush sizes, imo. The scale factor could be 20% after each snapping to a different size.
Comment 11 Jo 2016-08-09 12:30:52 UTC
Created attachment 332997 [details]
Scripted Brush size setting

please review what this plugin does with brush sizes.

I use that script every day, the brush scaling feature is incredible useful, i use to scale brush size all the time meanwhile i work.
Comment 12 Jo 2016-08-09 12:42:21 UTC
the interesting aspect of this brush script is:

- it uses only few, user pre-defined brush sizes
- it is able to loop between these pre-defined brush sizes, you get small and big brushes with the same shortcut
- its easy to map as shortcut on the tablet
Comment 13 Severo Raz 2017-01-25 15:31:41 UTC
I have reported bug #777750 "Keyboard shortcuts for tool presets"
Comment 14 GNOME Infrastructure Team 2018-05-24 14:55:33 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gimp/issues/629.