Bug 416849

Summary: Lag happened in alternating the hand tool and brush tool
Product: [Applications] krita Reporter: samuel.lostiousness
Component: UsabilityAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: ghevan, halla
Priority: NOR    
Version: 4.2.7.1   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description samuel.lostiousness 2020-01-28 07:58:27 UTC
SUMMARY
Using a brush tool and using the navigator/ clicking any sidebar tools will lag the usage of [space] or hand tool used to navigate the canvas better, thus will deliberately stain the canvas while trying to scroll down. There is a minimum 3 seconds if waited idly to let the cursor change to hand tool while space is already been pressed.


STEPS TO REPRODUCE
1. using a brush 
2. clicking navigator slider
3. alternating by pressing [space] to trigger hand tool
4. hand tool will not commence, it will go back to brush tool

OBSERVED RESULT
even when [space] had already been pressed, it needs 3 seconds to let it tirgger manually, or else alternating against another tool

EXPECTED RESULT
after the [space] is pressed, the hand tool should immediately trigger, not costing time or worse, smearing the canvas with unintended brush tool

SOFTWARE/OS VERSIONS
Windows: 10 School Version
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Halla Rempt 2020-01-28 08:19:58 UTC
Hi,

Make sure the stylus is not on the tablet before pressing space to start panning. I cannot reproduce the issue myself, if I press space, the hand tool is activated immediately. I'm not exactly sure what you mean with the navigator slider, though...

Could you attach the contents of help->system information for bug reports to this report to give us some more information?
Comment 2 vanyossi 2020-01-30 21:38:10 UTC
This bug is the same as 391088, which is related to focus switching and is intentional. Bassically we have a timer after doing interactions with widgets outise of canvas to grab the focus.

Using the Overview docker, this does not happen when clicking the preview, but using zoom or rotation controls the bahavior is the same as 391088

*** This bug has been marked as a duplicate of bug 391088 ***