Bug 382181

Summary: scale image to new size gives 0 for height and width
Product: [Applications] krita Reporter: Scott Petrovic <scottpetrovic>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: nicholaslapointe8
Priority: NOR    
Version First Reported In: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Scott Petrovic 2017-07-10 02:03:20 UTC
This is on my Windows 10 surface pro 4.


Steps to reproduce

1. create a new image
2. Go to Image > Scale Image to New Size

Expected results
the image height and width would be the current height and width

actual results
the image height and width is 0

I looked at the code for this a bit ago. The data is coming into the dialog, but it doesn't seem to be getting set correct. I think these fields are using the new input widgets that can do maths.
Comment 1 Nicholas LaPointe 2017-07-11 07:44:50 UTC
This seems to be working fine for me in both the latest master and 3.2 branches. (Qt 5.6, Kubuntu 16.04.2)
Comment 2 Scott Petrovic 2017-09-13 13:30:53 UTC
It has been a little while since I filed this. I just tried it on master latest and this issue doesn't appear any longer. I am closing the ticket.