Bug 451335 - Allow modifier keys + click in shortcuts
Summary: Allow modifier keys + click in shortcuts
Status: RESOLVED INTENTIONAL
Alias: None
Product: krita
Classification: Applications
Component: Shortcuts and Canvas Input Settings (other bugs)
Version First Reported In: 4.4.3
Platform: unspecified Unspecified
: NOR wishlist
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-09 20:01 UTC by Archenoth
Modified: 2022-03-09 20:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
An example of doing arbitrary editing to a vector in Sai by holding various modifier keys while clicking or dragging points and curves (2.38 MB, video/mp4)
2022-03-09 20:01 UTC, Archenoth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Archenoth 2022-03-09 20:01:36 UTC
Created attachment 147410 [details]
An example of doing arbitrary editing to a vector in Sai by holding various modifier keys while clicking or dragging points and curves

SUMMARY
Currently when setting a shortcut in Settings -> Configure Krita -> Keyboard Shortcuts, you can set actions to combinations of keys and modifiers, but you are unable to set them to combinations of modifiers and mouse clicks!

STEPS TO REPRODUCE
1. Visit Settings -> Configure Krita -> Keyboard Shortcuts and expand a shortcut
2. Attempt to set it to Ctrl + Click
3. Hope it's not too much work to add and humble yourself before the Lords of Kirta Development to humbly request this ability be granted to you and your kin

OBSERVED RESULT
Ctrl gets recognized, but the mouse click doesn't

EXPECTED RESULT
Ctrl + Click gets recognized as a binding for the shortcut

SOFTWARE/OS VERSIONS
Windows: 11 Build 22000.527
Qt Version: 5.12.9

ADDITIONAL INFORMATION
The inspiration for this wishlist item is the way you edit vectors in Paint Tool Sai! (Which is driven almost entirely by holding various modifiers and clicking or dragging paths and points)

Currently, even with Sai's shortcut presets, the modifier + mouse shortcuts are currently absent

And while I understand that it would require more effort to allow configuring such a setup, the general existence of this ability is one of the biggest things I miss from Sai when I use Krita, so I figured I'd file a formal request for it on behalf of people with Sai muscle memory to maybe help them use Krita more readily~ (Plus, this might open the door to allow plugin creators to add this style of editing more completely if they can intercept modifier click combinations to begin with)

I've attached a video of random vector editing in Sai only using a tablet's tapping (mouse 1), combinations of modifier keys, and one Ctrl + T (transform) to give an idea about the style of editing I'm talking about
Comment 1 Halla Rempt 2022-03-09 20:07:53 UTC
I'm sorry, but that's not possible. Shortcuts are associated with things like menu actions, not with interacting with the canvas content. And modifier+click is supported in the canvas input settings page, but you're limited to the operations that are defined for various tools and the canvas.
Comment 2 Archenoth 2022-03-09 20:13:05 UTC
Alright! Thank you for the heads up~

I was about to mention that bug 386202 seems related to this (And might actually be a duplicate if you squint hard enough), though that additional context definitely addresses the parts that aren't