Patch to improve the brush size keyboard shortcuts

ForumsFor GIMP developers (read-only) ► Patch to improve the brush size keyboard shortcuts

Sent: 2010-05-26 03:05:37 UTC (over 1 year ago)

From: Dieki N

Patch to improve the brush size keyboard shortcuts

I've created a patch to improve the behavior of brush size increase\decrease
keyboard shortcuts, particularly at small sizes and large sizes. The old
behavior increased\decreased the brush size by a fixed value (0.10), which
worked fine at medium sizes, and reasonably well at large sizes (since you
could hold down the keyboard shortcut to get a lot of change), but
completely broke down at sizes underneath 0.20, since you tended to have two
options; too big or too small. (Or, when under 0.10, none at all!)

This patch sets the increment according to the following rules:

If is greater than 2, it increments by 0.20.
If is less than 2 but greater than 0.50, it increments by 0.10.
If is less than 0.50 but greater than 0.10, it increments by
0.05.
If is less than 0.10, it increments by 0.01.

I've tested this in my own use over the last couple weeks, and it seems most
helpful, particularly when masking fine details. This patch is against
Master.

Dieki

_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Sent: 2010-05-26 03:06:48 UTC (over 1 year ago)

From: Dieki N

Patch to improve the brush size keyboard shortcuts

On Tue, May 25, 2010 at 8:05 PM, Dieki N wrote:

> I've created a patch to improve the behavior of brush size
> increase\decrease keyboard shortcuts, particularly at small sizes and large
> sizes. The old behavior increased\decreased the brush size by a fixed value
> (0.10), which worked fine at medium sizes, and reasonably well at large
> sizes (since you could hold down the keyboard shortcut to get a lot of
> change), but completely broke down at sizes underneath 0.20, since you
> tended to have two options; too big or too small. (Or, when under 0.10, none
> at all!)
>
> This patch sets the increment according to the following rules:
>
> If is greater than 2, it increments by 0.20.
> If is less than 2 but greater than 0.50, it increments by
> 0.10.
> If is less than 0.50 but greater than 0.10, it increments by
> 0.05.
> If is less than 0.10, it increments by 0.01.
>
> I've tested this in my own use over the last couple weeks, and it seems
> most helpful, particularly when masking fine details. This patch is against
> Master.
>
> Dieki
>
>
Maybe it would help if I actually attached the patch. :) Here it is.

_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Sent: 2010-05-26 17:05:29 UTC (over 1 year ago)

From: Martin Nordholts

Patch to improve the brush size keyboard shortcuts

On 05/26/2010 03:05 AM, Dieki N wrote:
> I've created a patch to improve the behavior of brush size
> increase\decrease keyboard shortcuts, particularly at small sizes and
> large sizes.

Just checking: Have you tried the 'Increase/Decreate Radius Relative'
keyboard shortcuts?

/ Martin

--

My GIMP Blog:
http://www.chromecode.com/
"GIMP 2.8 development still under control"
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Sent: 2010-05-27 01:13:23 UTC (over 1 year ago)

From: Owen

Patch to improve the brush size keyboard shortcuts

On Tue, 25 May 2010 20:06:48 -0500
Dieki N wrote:

> On Tue, May 25, 2010 at 8:05 PM, Dieki N
> wrote:
>
> > I've created a patch to improve the behavior of brush size
> > increase\decrease keyboard shortcuts, particularly at small sizes
> > and large sizes. The old behavior increased\decreased the brush
> > size by a fixed value (0.10), which worked fine at medium sizes,
> > and reasonably well at large sizes (since you could hold down the
> > keyboard shortcut to get a lot of change), but completely broke
> > down at sizes underneath 0.20, since you tended to have two
> > options; too big or too small. (Or, when under 0.10, none at all!)
> >
> > This patch sets the increment according to the following rules:
> >
> > If is greater than 2, it increments by 0.20.
> > If is less than 2 but greater than 0.50, it increments
> > by 0.10.
> > If is less than 0.50 but greater than 0.10, it
> > increments by 0.05.
> > If is less than 0.10, it increments by 0.01.
> >
> > I've tested this in my own use over the last couple weeks, and it
> > seems most helpful, particularly when masking fine details. This
> > patch is against Master.

Well I tried that patch and like it. I also thought that the scaling
was too aggressive and that patch seems to settle it down nicely.

Thanks

Owen

_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Welcome!


Lost password?

Not a member? Sign up!

Random tutorials | Latest tutorials

  1. Hot Wallpaper with Flames Hot Wallpaper with Flames 52
  2. Creating an abstract chaos explosion Creating an abstract chaos explosion 10
  3. Create a simple Grunge-Stamp! Create a simple Grunge-Stamp! 7
  4. Ashes to ashes, dust to dust. Dissolve text into particles Ashes to ashes, dust to dust. Dissolve text into particles 3

Latest comments

2.6.12 crashes on startup in windows xp. 2.6.11 works fine. (2 days ago in Last stable 2.6 release: 2.6.12 has arrived)

Thank you! You really helped! The tutorial went great for me! Tha... (5 days ago in [AVATAR] Become a real Na'Vi using GIMP!)

maybe you still selected a channel or so? explicitly click a layer ... (5 days ago in Create cool rifts with translucent lights!)

Poll

Is GIMP an adequate application for you to create printed graphics like flyers, advertisments etc?

Latest forum activities

Your Ad Here

facts & numbers

gimpusers.com RSS feed

48 identi.ca followers
749 Twitter followers

powered by bitfire it services