In the current version of Krita, when one presses the shortcut to increase brush size, it works like this:
1 → 2 → 3 → 4 → 5 → 6 → 7 → 8 → 9 → 10 → 11 → 12…
But I’m not a pixel artist and I never need to distinguish a 5px brush from a 6px one. I’d like it to, for example, multiply the brush size by 1.5 and round up to the closest integer:
1 → 2 → 3 → 5 → 8 → 12 → 18 → 24…
Or even fancier, use a Fibonacci sequence:
1 → 2 → 3 → 5 → 8 → 13 → 21 → 34…
There is at least another member who has the similar issue:
I would add it should also be compatible with the liquify tool “brush” size, but only when the transform/liquify tool is active. There are a few other feature requests for syncing or adjusting the liquify size.
If you find/anyone finds this useful, here is a plugin that adds 2 actions for halving or doubling brush size, it also works with the transform tool liquify mode (when it is active). Liquify size is not linked to brush size.
There is a small issue though. When the action is invoked, while the brush size is correctly updated, the brush preview on the canvas doesn’t change until the user moves the cursor. It is possible to force Krita to refresh the preview?
I would lean towards no, it’s probably something more internal than the Python API or PyQt. Tbh I may have gotten so used to it I don’t notice it anymore Most of the time I’m holding a stylus and its never completely still like a mouse and that’s enough to update it. But you never know, there may be some obscure “slot” in a widget related to the brush tool or canvas that can be executed, forcing an update. Some unrelated action triggered 10ms after the brush size change may also
That was my thinking… but as I was writing it remembered a similar issue in another plugin or script, it seems we can just move the mouse 1 px down I updated the plugin.