Gimp-Forum.net
can't use ctrl + alt + scroll wheel to change brush size - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: Gimp 2.99 & Gimp 3.0 (https://www.gimp-forum.net/Forum-Gimp-2-99-Gimp-3-0)
+--- Thread: can't use ctrl + alt + scroll wheel to change brush size (/Thread-can-t-use-ctrl-alt-scroll-wheel-to-change-brush-size)

Pages: 1 2


RE: can't use ctrl + alt + scroll wheel to change brush size - programmer_ceds - 09-25-2023

(09-24-2023, 05:19 PM)programmer_ceds Wrote: Following on from the previous post there is a 4th way - although it's not pretty.

You could write a script that would run non-interactively for each action (increase brush size by 1, increase brush size by 10 etc.). The mouse and keyboard shortcuts can then call these functions (the same function can be called by both mouse and keyboard shortcuts). The scripts would need to be something along the lines of calling gimp-context-get-brush-size, adjusting the value returned by this function accordingly and then calling gimp-context-set-brush-size.

As I said not pretty but it would let you use V2.99.16. Then when V2.99.18 is released just delete the scripts and put the mouse and keyboard shortcuts back to their default settings (you could keep backup copies of shortcutsrc and controllerrc to make restoring the original settings easy).

Scrub option 4 - because GIMP doesn't prevent more than one script being run at the same time repeated script activations from spinning the mouse scroll wheel can crash GIMP.