Bug 389943 - Resize Canvas does not resize around center of canvas
Summary: Resize Canvas does not resize around center of canvas
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 4.0.0-beta.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-06 10:21 UTC by rebuilderster
Modified: 2018-02-22 08:40 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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