Bug 431815

Summary: Select > Scale.. function adds 1 to width and height
Product: [Applications] krita Reporter: whydoyouenclosemailstothepublicitsanoyingtocreatethis
Component: Tools/SelectionAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: griffinvalley, tomtomtomreportingin
Priority: NOR    
Version First Reported In: 4.4.1   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description whydoyouenclosemailstothepublicitsanoyingtocreatethis 2021-01-19 12:36:58 UTC
SUMMARY
The Scale Selection seems to be the only way to scale with actual pixel values (The transform tool only shows percent %), but it doesn't work correctly. It adds +1 to width and height.

STEPS TO REPRODUCE
1. Select some area
2. Top Bar > Select > Scale..
3. Enter some values (For example 500 and 400)
4. OK

OBSERVED RESULT
The selection is one bigger than entered (For example 501 and 401).
That's especially bad because the proportions are not correct now anymore.

EXPECTED RESULT
The selections ends up in the size entered (For example 500 and 400)

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

ADDITIONAL INFORMATION
I'm new to krita, it's a clean install, nothing really changed yet.
Comment 1 tomtomtomreportingin 2021-03-13 21:14:11 UTC
I can confirm this. It's not always both width and height.
Comment 2 wolthera 2021-09-27 17:25:34 UTC
I can't reproduce this, does it still happen? If so, can you prepare a file that has this problem (selections are saved into the kra file).
Comment 3 Bug Janitor Service 2021-10-12 04:35:41 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2021-10-27 04:35:21 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!