Bug 422688 - Scale Layer to New Size (Resize Layer) doesn't follow its exact number if I type those.
Summary: Scale Layer to New Size (Resize Layer) doesn't follow its exact number if I t...
Status: CONFIRMED
Alias: None
Product: krita
Classification: Applications
Component: General (other bugs)
Version First Reported In: nightly build (please specify the git hash!)
Platform: Microsoft Windows All
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-09 18:15 UTC by acc4commissions
Modified: 2020-08-03 23:45 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Test file (255.59 KB, application/zip)
2020-08-03 23:45 UTC, Tiar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description acc4commissions 2020-06-09 18:15:39 UTC
SUMMARY
git bc1f57d

The title says it all. Usually it adds or subtracts 1px from what I type.

*I didn't test this with 'Scale Image to New Size'. I'm not sure if the same thing happens there.



OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Tiar 2020-08-03 23:45:06 UTC
Created attachment 130620 [details]
Test file

Confirming. I provided a test file, select the purple layer and use Layer -> Transform -> Scale Layer to New Size, select 800 and press OK.

It's good to have Grid enabled - for example 20px x 20px, with 2 subdivision. It clearly shows that the top-left corner is starting too early.

Additional notes:
- it doesn't allow you to choose the algorithm
- it doesn't allow you to choose the position after scaling
- the dialog itself works weirdly if you do those steps:
    - make sure the Constraint proportions is enabled
    - write 800
    - uncheck Constraint proportions (numeric boxes stay 800)
    - check Constraint proportions (numberic boxes are reset to 960, even though they were good for the Constraint proportions)