Bug 432446

Summary: When I hold the spacebar and I press ctrl many times while moving the pen of the tablet, the pan tool doesn't keep activated anymore, even without having released the spacebar.
Product: [Applications] krita Reporter: Alejandro <ale97clas>
Component: Shortcuts and Canvas Input SettingsAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kjartan
Priority: NOR    
Version: 4.4.2   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alejandro 2021-02-03 01:50:08 UTC
COMPLETE EXPLANATION (Read below to see a note, the steps and results):
I always use the spacebar to move the canvas with the pan tool, and I keep it hold while pressing "ctrl" to zoom in and out, and when I release "ctrl" it appears back the pan tool hand, because I kept the spacebar hold. But in this 4.4.2 version of Krita, after switching from the pan tool to the zoom tool several times, there is a time when the hand of the pan tool no longer shows up, and I can't move the canvas anymore, even without having released the spacebar. This only happens while moving the cursor with the pen of my Huion Inspiroy h1161 tablet. Because if I do this process while moving the cursor with my regular mouse (of if I don't move the cursor at all), zoom and pan tools swich perfectly. And that's a problem, because I need to move the tablet pen constantly to move the canvas and zoom. 
It seems like Krita automatically unholds the spacebar. Because, after the pan tool deactivates, it shows up the brush tool circle in where the cursor (tablet pen tip) is, and at that very time, when I press "ctrl" again, it doesn't activate back the zoom tool.


NOTE:
I have to warn you I have many customized shorcut, including the ctrl button, in which I set it to activate the eyedropper. However, the pan tool worked totally fine in the last version, even with all these customized shorcuts. 

DRAWING TABLET USED: HUION INSPIROY H1161


STEPS TO REPRODUCE
1. Hold Spacebar, so it activates pan tool (to move canvas)
2. (While 1) Press ctrl button to activate zoom tool. Release it and press it many times. 
3. (While 1 and 2) Move the pen of the (huion inspiroy) drawing tablet. 

OBSERVED RESULT
One moment it stops switching from zoom to pan, and pan tool doesn't work again, even if you hold spacebar. 

EXPECTED RESULT
Pan tool always works while you hold spacebar, even after activating many times the zoom tool. 


THANKS FOR READING AND HAVE A NICE WEEK! KEEP ON WITH YOUR AMAZING KRITA SOFTWARE!
Comment 1 Kjartan Tysdal 2021-08-20 09:38:29 UTC

*** This bug has been marked as a duplicate of bug 438784 ***
Comment 2 Kjartan Tysdal 2021-08-20 09:40:33 UTC
I believe this is a duplicate of this bug:
https://bugs.kde.org/show_bug.cgi?id=438784

I can confirm your bug and it has been driving me up the wall as well :)