Bug 389943

Summary: Resize Canvas does not resize around center of canvas
Product: [Applications] krita Reporter: rebuilderster
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: halla
Priority: NOR    
Version First Reported In: 4.0.0-beta.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description rebuilderster 2018-02-06 10:21:39 UTC
Resize canvas resizes around unknown anchor point.

To reproduce:

-Create new document, e.g. 700x700
-draw a stroke in the center of the canvas for reference.
-Open the Resize Canvas dialog
-input new size, e.g. width 120%, height 200%. Change no other options, press OK
-Note the mark made in step 2 is not centered any more.
Comment 1 wolthera 2018-02-22 08:40:02 UTC
Git commit 7fab68cd40f4669d86712a9a0e302ed11c100891 by Wolthera van Hövell tot Westerflier.
Committed on 21/02/2018 at 21:34.
Pushed by woltherav into branch 'master'.

We need the member variables, not the UI ones.

M  +2    -2    plugins/extensions/imagesize/dlg_canvassize.cc

https://commits.kde.org/krita/7fab68cd40f4669d86712a9a0e302ed11c100891