Bug 384370

Summary: Resizing canvas to bigger size with offset anchor set to center doesn't work.
Product: [Applications] krita Reporter: Raghavendra kamath <raghu>
Component: Resize/Scale Image/LayerAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: halla, hellozee
Priority: NOR    
Version: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

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