This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[Suggestion] ALT+Clicking Brush prese keeps last Brush size

Tags: None
(comma "," separated)
oskarb
Registered Member
Posts
6
Karma
0
Hi Krita Community and esteemed Developers!

Jeez what a great application Krita has become and is evolving into. It's my go to app for painting. You've done an astounding job with it and I hope you feel as proud as you should be. Keep up the great work! ^-^

So for the suggestion!

Summary:
Add an alternative function to switching between brushes in the Brush Presets panel.
If the user is holding a modifier key like ALT, do not change the brush size during brush switch.

Example:
User is painting with some brush preset A at brush size 34.0 pixels.
User wants to switch to another brush preset B which has a stored base-size of 142.0 pixels.
User ALT-clicks brush B, Krita switches to brush B at size 34.0 pixels instead of 142.0 pixels.

Execution (might be unoptimal since I don't know C++, C#):
The input is already implemented in some way with layers and ALT-clicking on their previews for SOLO-viewing but I'll try to give an example anyway!

Check QApplication::keyboardModifiers() or QApplication::queryKeyboardModifiers() for ALT-key when user clicks another brush preset.
-if ALT-pressed is True
1. Get current brush size.
2. Store current size in oldSizeTemporary variable.
3. Change to the new brush. (use a callback? or add another input variable / overloaded function with keyword argument that sets the brush size when changing?)
4. Set brush size to oldSizeTemporary variable.
5. Profit!

Reason, motivation:
Working with either small or large canvases zoomed in or zoomed out and changing brushes, each time the user needs to rescale to the proper brush size when changing to another brush. Having an alternate size option when changing brushes would decrease the amount of clicks and arm movements required when painting on details.

I hope you all have a nice weekend! ;D


//

Oskar
User avatar
Lord Jerick
Registered Member
Posts
31
Karma
0
OS
I like the idea. Keeping the Linux users in mind, Alt-clicking by default moves the window, so tying such a feature with the Alt/Ctrl swap option found in Krita's config would be nice if something like this is implemented.


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]