Summary: | Option to set brush size increments | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | cornellg |
Component: | Usability | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | griffinvalley, halla |
Priority: | NOR | Keywords: | accessibility, usability |
Version: | 4.2.3 | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | Python script that would solve this issue. |
Description
cornellg
2019-07-27 11:38:44 UTC
Might it be helpful for you to have a python script that does this? Because it is possible to create actions via python that increments/deincrements based on a list of preset values, and then to assign that to the [ and ] keys. (In reply to wolthera from comment #1) > Might it be helpful for you to have a python script that does this? Because > it is possible to create actions via python that increments/deincrements > based on a list of preset values, and then to assign that to the [ and ] > keys. Sorry for the late reply. Yes! Yes, that would certainly be useful. I never realized that was a possibility. That would be a complete solution to the problem, as far as I am concerned. Created attachment 122764 [details]
Python script that would solve this issue.
So, I have attached a python script that would normally solve your issue(it creates actions that increase and decrease the brush size based on a predetermined list of sizes), however, it seems that I can't get them to work with shortcuts, because the local python actions aren't being loaded. (Bundled python actions *are* being loaded)
The stupid thing is that I recall someone else remarking on this, but apparantly they didn't report the bug when I asked them to :(
I reported the bug for the shortcuts stuff here: https://bugs.kde.org/show_bug.cgi?id=412125 I fixed bug 412125 just now. Thanks both, much appreciated. I'm looking forward to using these! I'll set this to resolved then. If you wish to adjust the list of predefined sizes, it's specified inside the python plugin which ones to change(line 26 of custombrushsizecommand.py. You can't miss it) You should be able to change the shortcut assigned in the shortcuts dialog now. |