gimpusers.com logo
German version English version

Not logged in

Sign up! | Lost password?

Latest discussion

  1. gegl-developer | today 12:12 AM
    babl docs
  2. gimp-web | yesterday 10:41 PM
    Windows installers
  3. gimp-user | yesterday 10:23 PM
    How to edit text in both Gimp & Photoshop
  4. gimp-docs | yesterday 05:54 PM
    a new user perspective
  5. gimp-developer | yesterday 07:03 AM
    Nightly builds with buildbot, where can we host?

External news

Poll

How good are you at programming?

OMG, that is nothing for me at all!

I've been coding a little bit but I'm not very fit at it

I'm pretty good at programming and would maybe be able to write a Plug-In for GIMP

I'm very good at programming and I would theoretically be able to hack for the GIMP core

See results

Stats

gimpusers.com RSS feed

GIMP Forums » For GIMP developers

Patch to improve the brush size keyboard shortcuts

Jump to message:

  1. Patch to improve the... — Dieki N, 26 May 2010 03:05 AM
    1. Patch to improve the... — Dieki N, 26 May 2010 03:06 AM
      1. Patch to improve the... — Owen, 27 May 2010 01:13 AM
    2. Patch to improve the... — Martin Nordholts, 26 May 2010 05:05 PM

As a registered user, you can subscribe forum threads in order to get notified when replies are posted. Just log in at the right top of the page if you already have an account, otherwise you can register for free.

Permalink:AANLkTink6KVpdHtET47Q59tWUu_GDpxustIR...
Date:26 May 2010 03:05 AM
From:Dieki N
Subject: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 <brush size> is greater than 2, it increments by 0.20.
If <brush size> is less than 2 but greater than 0.50, it increments by 0.10.
If <brush size> is less than 0.50 but greater than 0.10, it increments by
0.05.
If <brush size> 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
↑Back to thread overview
Permalink:AANLkTikBxI66vCseqq7SQl5FOISurrThNifk...
Date:26 May 2010 03:06 AM
From:Dieki N
Subject:Patch to improve the brush size keyboard shortcuts
On Tue, May 25, 2010 at 8:05 PM, Dieki N <dieki.ubuntu@gmail.com> 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 <brush size> is greater than 2, it increments by 0.20.
> If <brush size> is less than 2 but greater than 0.50, it increments by
> 0.10.
> If <brush size> is less than 0.50 but greater than 0.10, it increments by
> 0.05.
> If <brush size> 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
↑Back to thread overview
Permalink:20100527091323.4022d6ab@owen-desktop
Date:27 May 2010 01:13 AM
From:Owen
Subject:Patch to improve the brush size keyboard shortcuts
On Tue, 25 May 2010 20:06:48 -0500
Dieki N <dieki.ubuntu@gmail.com> wrote:

> On Tue, May 25, 2010 at 8:05 PM, Dieki N <dieki.ubuntu@gmail.com>
> 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 <brush size> is greater than 2, it increments by 0.20.
> > If <brush size> is less than 2 but greater than 0.50, it increments
> > by 0.10.
> > If <brush size> is less than 0.50 but greater than 0.10, it
> > increments by 0.05.
> > If <brush size> 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
↑Back to thread overview
Permalink:4BFD39CB.9010103@gmail.com
Date:26 May 2010 05:05 PM
From:Martin Nordholts
Subject: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
↑Back to thread overview

Adobe® Photoshop® is a registered trademark of Adobe Systems, Inc. Linux is a trademark of Linus Torvalds. Ubuntu and Canonical are registered trademarks of Canonical Ltd. | Clock times are shown as CET / CEST | Imprint / Privacy policy | powered by bitfire it services | sponsored by Hirners Hotel Guide