Bug 384370 - Resizing canvas to bigger size with offset anchor set to center doesn't work.
Summary: Resizing canvas to bigger size with offset anchor set to center doesn't work.
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Resize/Scale Image/Layer (show other bugs)
Version: git master (please specify the git hash!)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-05 05:54 UTC by Raghavendra kamath
Modified: 2019-04-26 13:14 UTC (History)
2 users (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 Raghavendra kamath 2017-09-05 05:54:16 UTC
When user resizes canvas to a bigger size than the current canvas with offset anchor at the center, the resulting document doesn't get bigger with equidistant units from center.

**To Reproduce**

1) Open Krita and a new document of 100 px X 100px
2) Fill canvas with black (just to help visually)
3) Open resize canvas dialog and put 200 px X 200 px in height width.
4) Click on the center anchor and click okay

**Expected result**

Resulting canvas should be resized equally from center

**Actual results**

canvas is resized more towards right, like shown below.

 ___________
|  _____    |
| |     |   |
| |     |   |
| |_____|   |
|           |
|___________|


I am using git master on Opensuse leap 42.3
Comment 1 Kuntal Majumder 2019-04-26 13:10:55 UTC
Cannot reproduce with master, probably this got fixed, :)
Comment 2 Raghavendra kamath 2019-04-26 13:14:30 UTC
Yes thanks Kuntal,

This is not reproducible now. So we can close this