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

It would be nice to have 'minimal brush size' option...

Tags: None
(comma "," separated)
User avatar
tayloryoung
Registered Member
Posts
104
Karma
0
I usually adjust brush size with Shift - Drag, and it's one thing I so love about krita because it's very fast and convenient.

I usually draw, constantly switching between many big brush sizes for shape rendering <-> 1 small brush size for line polishing. And since it's hard to make precise adjustment with the Shift - Drag function, I constantly need to click shortcuts few times after dragging to reach the exact size of the small brush that I want .

I'm not sure I explained it correctly. Does that make sense? :|
Anyway personally, I think It would be nice to have 'minimal brush size' option so that I can just drag mindlessly to the size that I set.

Thanks.

Last edited by tayloryoung on Mon Apr 29, 2019 12:35 pm, edited 1 time in total.
User avatar
scottpetrovic
Registered Member
Posts
520
Karma
4
OS
Have you taken a look at the Quick Settings Docker. That has some quick options to change to exact brush sizes, opacity, or flow. If you don't like those values, you can change it by editing the python file. Not sure if that will help with your situation. I am not completely clear what you are trying to do.
User avatar
tayloryoung
Registered Member
Posts
104
Karma
0
scottpetrovic wrote:Have you taken a look at the Quick Settings Docker. That has some quick options to change to exact brush sizes, opacity, or flow. If you don't like those values, you can change it by editing the python file. Not sure if that will help with your situation. I am not completely clear what you are trying to do.


When I try to decrease the brush size to a certain size(Let's say 5px) via 'Shift + (drag inward)' function, I usually end up 3.14px or 6.56px and have to press '[', ']' keys few times to match the size to the exact 5px. If the brush have an option, that doesn't allow its size to be smaller than a certain size(5px in this case), I can just mindlessly Shift + drag inward and it will be exactly 5px.
User avatar
tayloryoung
Registered Member
Posts
104
Karma
0
I'm asking this because I constantly(like, every 10~15 seconds) switch among so many brush sizes when I'm painting. The Shift+Drag function in krita has boosted my painting performance for this, and it would be nice to have this sort of limit option on it because in general I don't need the brush size below 4~5px at all.

Maybe It doesn't have to be an option for the 'brush'. Maybe it can be an option attached to the 'Shift+Drag' function.

Last edited by tayloryoung on Wed Jul 24, 2019 12:36 pm, edited 1 time in total.
ahabgreybeard
Registered Member
Posts
1269
Karma
11
OS
As a workaround, you could make your own brush preset in the Brush Editor by setting the brush tip size to the particular 'minimum' size you want and then Save New Brush Preset as a suitable name. Then you make a keyboard shortcut for Reload Original Preset (Alt+Z is free and seems convenient). When you want it to be that 'minimum' size, you press Alt+Z.

The Shift+drag seems to have a linear action so a small drag at small pixel sizes gives a large percentage increase in size. A logarithmic (inverse log?) response might give a better 'feel' to it or maybe drag distance scaling based on the starting size?
User avatar
tayloryoung
Registered Member
Posts
104
Karma
0
ahabgreybeard wrote:As a workaround, you could make your own brush preset in the Brush Editor by setting the brush tip size to the particular 'minimum' size you want and then Save New Brush Preset as a suitable name. Then you make a keyboard shortcut for Reload Original Preset (Alt+Z is free and seems convenient). When you want it to be that 'minimum' size, you press Alt+Z.


It seems to be a good workaround so far. Thanks. :)
jobsclebsonpereira
Registered Member
Posts
5
Karma
0
How can i assign a shortcut to a preset? Krita 4.1.7
ahabgreybeard
Registered Member
Posts
1269
Karma
11
OS
You can't directly assign a keyboard shortcut to a brush preset but there is a bult-in script that can manage up to ten different brushes. You'll find this at Tools -> Scripts -> Ten Brushes. This is where you set up the brush presets that can be activated. By default, they are mapped to Ctrl+Alt+(0,1,2, ...9) keyboard shortcuts.

The keyboard shortcuts for each mapped preset can then be changed in the Settings -> Configure Krita - Keyboard Shortcuts in the Scripts - Ten Brushes category by activating Custom instead of Default, if you want to do that.

You may find that the pop-up palette (right-click on the canvas) is more convenient for quickly selecting brushes since it has a nice adjustable graphical presentation and good selection facilities using named tags which you can set up to suit your needs and prefereces in the brush presets docker.
jobsclebsonpereira
Registered Member
Posts
5
Karma
0
Tools > Scripts doen't show up any script.
https://i.imgur.com/12cdC94.png

There are 2 Krita on Ubuntu store. The bottom one dosen't work here.
https://i.imgur.com/DCCmMDK.png
ahabgreybeard
Registered Member
Posts
1269
Karma
11
OS
Try using the 4.1.7 appimage from the standard download site: https://krita.org/en/download/krita-desktop/
Or you could try the latest 4.2.0-beta nightly build from here: https://binary-factory.kde.org/job/Krit ... age_Build/
Both of those work for me

Remember to set the appimage permissions to allow executing the file before you try to run it. Using these will not affect your existing krita installation but they do use the same configuration files and resources folder as your existing installation.

I've no idea why your current installation doesn't have them.
jobsclebsonpereira
Registered Member
Posts
5
Karma
0
The scripts work on the appimage.

I loaded the Keyboard shortcuts but some didn't work like Deselect. The Canvas Input Settings still default configurations...

There is no way to download the script and install?
User avatar
tymond
KDE Developer
Posts
240
Karma
5
No, because the reason why you don't have them is because Python scripts don't work there at all. I don't know why though. Which version of Ubuntu do you have? Which version of Krita?

(You can check in Settings -> Configure Krita if you have "Python Scripting" tab at all - if you don't, that means you can't install any python script there).
jobsclebsonpereira
Registered Member
Posts
5
Karma
0
Ubuntu 19.04 up to date.
Yep, I dont have python tab. Do you know how can i fix it? ;D
jobsclebsonpereira
Registered Member
Posts
5
Karma
0
I have installed python 2.7.16 and python 3.7.3.

Krita still same. If I reintall Krita I gonna lose the configurations right? :'(
ahabgreybeard
Registered Member
Posts
1269
Karma
11
OS
If you reinstall krita or use the krita appimage, they all use the same configuration files and resources folder so you don't lose your settings or any personal resources like bundles, brushes, etc. The existing configuration files and resources are not affected by reinstallation or use of a different appimage version.

However, if the appimages work, why not just use them instead of the installed version from the Ubuntu software manager?


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], Sogou [Bot]