Bug 304197

Summary: zooming offset canvas in canvas-only mode causes canvas to jump/centres on top left corner.
Product: [Applications] krita Reporter: Tom Hall <tahall256>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: cincerorischer7777, dimula73, halla
Priority: NOR Keywords: regression
Version First Reported In: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Tom Hall 2012-07-28 17:57:21 UTC
Using the new interaction system in canvas-only mode, zooming causes the canvas to jump to a different position unless the canvas is centred on the screen.

Reproducible: Always

Steps to Reproduce:
1. Enter canvas-only mode (Tab)
2. Middle click and drag to offset the canvas slightly
3. Control + middle click and drag to zoom in/out
Actual Results:  
When you try to zoom, the canvas jumps so that its top left corner is in the centre of the screen.

Expected Results:  
Canvas stays where it is and zooms.

It doesn't appear matter whether the canvas is offset before or after entering canvas-only mode.
Comment 1 Halla Rempt 2012-07-29 12:52:48 UTC
Yes, I can reproduce this. Of course, we also have other bugs with jumping canvases and zooming.
Comment 2 Halla Rempt 2012-08-08 18:45:49 UTC
Marked as regression.
Comment 3 Dmitry Kazakov 2012-09-14 10:57:31 UTC
Fixed after merging my zoom-pan-testing branch