Bug 304197 - zooming offset canvas in canvas-only mode causes canvas to jump/centres on top left corner.
Summary: zooming offset canvas in canvas-only mode causes canvas to jump/centres on to...
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: git master (please specify the git hash!)
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2012-07-28 17:57 UTC by Tom Hall
Modified: 2020-07-18 17:53 UTC (History)
3 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 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