Bug 449593 - Setting CTRL as move tool in the Tool Invocation settings sets it to the zoom tool instead
Summary: Setting CTRL as move tool in the Tool Invocation settings sets it to the zoom...
Status: REPORTED
Alias: None
Product: krita
Classification: Applications
Component: Shortcuts and Canvas Input Settings (show other bugs)
Version: 5.0.2
Platform: Other Microsoft Windows
: NOR wishlist
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-04 10:59 UTC by Ren
Modified: 2022-02-14 23:24 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ren 2022-02-04 10:59:38 UTC
SUMMARY
***
I've set the move tool as CTRL in tool invocation options and also removed the colour sampler from the Alternative Invocation tool to try and change CTRL to the move tool instead.
***


STEPS TO REPRODUCE
1. Go to Configure Krita>Alternate invocation and remove the colour sampler+CTRL association. 
2. Set CTRL as Colour sampler in Krita>Tool Invocation, OK these settings
3. With the brush tool selected, press CTRL and hold

OBSERVED RESULT
The magnifier icon appears but won't actually do anything, as soon as the pen stylus touches the canvas you'll just paint as if the magnifier icon hadn't appeared at all.

EXPECTED RESULT
It should be possible to set the move tool as an alternative invocation for CTRL and the magnifier icon shouldn't appear if it's not going to do anything.

SOFTWARE/OS VERSIONS
Windows: 10


ADDITIONAL INFORMATION

I'm aware that the shortcut for the move tool is T in Krita, but I use a special keyboard to alleviate RSI symptoms and have CTRL, Shift and ALT as the most easily reachable keys, so reaching to the T on my actual keyboard would be come quite complicated. I tried to set CTRL on its own as the move tool shortcut but Krita won't allow CTRL on its own.
Comment 1 Ahab Greybeard 2022-02-04 19:10:56 UTC
Maybe use Z as the keyboard shortcut for the Move tool?
Comment 2 Ren 2022-02-06 15:50:23 UTC
(In reply to Ahab Greybeard from comment #1)
> Maybe use Z as the keyboard shortcut for the Move tool?

This doesn't really solve the problem as it doesn't affect the alternate invocation, which returns to the brush tool once I let go of the key. I tried it and the same behaviour I described still happens. Ideally there would be an option in the Configure Krita>General>Tools that lets one switch to CTRL for alternate invocation of the move tool - which is the behaviour in every other program I've tried so far (CSP, Photoshop, Sai, Paint). 
It would make working a lot more efficient for anyone who is used to other programs and is switching in the same way as the option to switch around the invocation for the colour picker (much appreciated!) from CTRL to ALT does.
Comment 3 Ren 2022-02-06 15:50:23 UTC
(In reply to Ahab Greybeard from comment #1)
> Maybe use Z as the keyboard shortcut for the Move tool?

This doesn't really solve the problem as it doesn't affect the alternate invocation, which returns to the brush tool once I let go of the key. I tried it and the same behaviour I described still happens. Ideally there would be an option in the Configure Krita>General>Tools that lets one switch to CTRL for alternate invocation of the move tool - which is the behaviour in every other program I've tried so far (CSP, Photoshop, Sai, Paint). 
It would make working a lot more efficient for anyone who is used to other programs and is switching in the same way as the option to switch around the invocation for the colour picker (much appreciated!) from CTRL to ALT does.
Comment 4 Halla Rempt 2022-02-14 14:56:09 UTC
I take it you meant 

"select the move tool action in the shortcuts page, and try to set it to ctrl"

where you write

"2. Set CTRL as Colour sampler in Krita>Tool Invocation, OK these settings"?

Otherwise it doesn't make sense.  But in any case, it's not possible in Qt to use modifier keys as shortcuts for QActions. It's a limitation of the framework. We would have to make a canvas input setting option to temporarily switch to the move tool, and that's a valid feature request, but this isn't a bug.
Comment 5 Ren 2022-02-14 23:24:37 UTC
(In reply to Halla Rempt from comment #4)
> I take it you meant 
> 
> "select the move tool action in the shortcuts page, and try to set it to
> ctrl"
> 
> where you write
> 
> "2. Set CTRL as Colour sampler in Krita>Tool Invocation, OK these settings"?
> 
> Otherwise it doesn't make sense.  But in any case, it's not possible in Qt
> to use modifier keys as shortcuts for QActions. It's a limitation of the
> framework. We would have to make a canvas input setting option to
> temporarily switch to the move tool, and that's a valid feature request, but
> this isn't a bug.

Hi, 

No, step two should read "2. Set CTRL as Move Tool in Krita>Tool Invocation, OK these settings" I've uploaded a screenshot where I tried to change this to change the alternative invocation: https://imgur.com/3Pbq4Cb

After playing around with it I got what I wanted from it working by setting a tool invocation of a mouse button, CTRL+left click, activate move tool - I wanted it to activate the move tool with CTRL in the same way the eye dropper is activated with ALT.

The problem remaining here is the way I tried to set it up in the screenshot above causes this erroneous behaviour where, when I hold the CTRL button, it shows the Zoom mouse icon (this is wrong) and then paints when I click. Either the behaviour when I click is wrong, or the cursor is wrong.