GIMP Forums » For GIMP developers
Patch to improve the brush size keyboard shortcuts
Jump to message:
-
Patch to improve the... —
Dieki N,
26 May 2010 03:05 AM
-
Patch to improve the... —
Dieki N,
26 May 2010 03:06 AM
- Patch to improve the... — Owen, 27 May 2010 01:13 AM
- Patch to improve the... — Martin Nordholts, 26 May 2010 05:05 PM
-
Patch to improve the... —
Dieki N,
26 May 2010 03:06 AM
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
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
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
| 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.
> 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
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
| 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
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
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
| 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
> 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
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


