Bug 435353 - Canvas navigation problem while switching from zoom to hand tool.
Summary: Canvas navigation problem while switching from zoom to hand tool.
Status: CONFIRMED
Alias: None
Product: krita
Classification: Applications
Component: Usability (other bugs)
Version First Reported In: nightly build (please specify the git hash!)
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-04 18:39 UTC by tle_spinner_tp2
Modified: 2024-08-22 16:39 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tle_spinner_tp2 2021-04-04 18:39:46 UTC
SUMMARY
just update from 4.4.1 to 4.4.3
And having a problem with Canvas navigation.
When zoom and release ctrl key while holding space bar in many times cursor switch to brush tool instead of hand tool. I have tested rollback to version 4.4.1 do not have this problem.

STEPS TO REPRODUCE
1. Use Ctrl+Space to zoom
2. Release Ctrl key and still holding space key
3. 

OBSERVED RESULT
Many time the cursor switch to brush tool.

EXPECTED RESULT
It should switch to hand tool(move canvas).

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

ADDITIONAL INFORMATION
Comment 1 Ahab Greybeard 2021-04-05 06:15:16 UTC
With the 4.4.3 appimage, I don't see this at all with the mouse or with the stylus, with canvas graphics acceleration enabled or disabled.

With the 4.4.3 installed package on Windows 10, it happens very rarely but only with the stylus and only with canvas graphics acceleration disabled.
(Having canvas graphics acceleration disabled ruins zooming response.)
I believe that the stylus has a much faster report rate than the mouse.
Comment 2 Will Stephenson 2021-12-14 14:30:57 UTC
Unable to reproduce on 5.0.0beta5, Win10, Wacom Intuos 4S PTK-440

Are you able to reproduce this with 5.0.0beta5?

Were you making stylus/mouse strokes to zoom/pan while holding ctrl/space as described? 

When not making strokes, the cursor changes back to Hand instantly.

While making strokes, the cursor changes back to Hand after the zoom operation has been completed (canvas acceleration disabled).

With acceleration enabled, the zoom operation happens so fast the cursor appears to change back to Hand as soon as Ctrl is released.
Comment 3 Ahab Greybeard 2021-12-14 17:02:25 UTC
With the Dec 14 5.1.0-prealpha (git 6db92d4aad) portable .zip on Windows 10, I can easily induce this when Canvas Graphics Acceleration is off and I use  a stylus and don't wait for the zoom action to complete.
If I use a mouse then I can't induce it.
I think that the 'move event' rate of a stylus is much higher than that of a mouse.

If Canvas Graphics Acceleration is on, then I can induce it with a stylus if I do very rapid and repeated sweeping strokes of the stylus but it takes a few seconds to happen.

I have an old and weak and slow computer so that may also have something to do with it.
Setting back to Reported.
Comment 4 Will Stephenson 2021-12-14 19:23:59 UTC
(In reply to Ahab Greybeard from comment #3) 
> I have an old and weak and slow computer so that may also have something to
> do with it.

Makes sense then that I can't repro here - I recently upgraded for the first time in 10 years and this one is now relatively quick.
Comment 5 Dmitry Kazakov 2024-08-22 16:39:37 UTC
Remove triaged keyword from CONFIRMED bugs