Bug 431815 - Select > Scale.. function adds 1 to width and height
Summary: Select > Scale.. function adds 1 to width and height
Status: RESOLVED WORKSFORME
Alias: None
Product: krita
Classification: Applications
Component: Tools/Selection (show other bugs)
Version: 4.4.1
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-19 12:36 UTC by whydoyouenclosemailstothepublicitsanoyingtocreatethis
Modified: 2021-10-27 04:35 UTC (History)
2 users (show)

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


Attachments

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