Bug 150173

Summary: JavaScript does not consistently report the size of a box
Product: [Applications] kst Reporter: Andrew Walker <arwalker>
Component: generalAssignee: kst
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 1.4.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Andrew Walker 2007-09-25 00:38:15 UTC
Version:           1.4.0 (using KDE KDE 3.5.1)
OS:                Linux

PROBLEM:
JavaScript does not report the size of a box to be the size that was just set

STEPS TO REPRODUDCE:
Start Kst
Create a box object
Open the JavaScript console:
Enter:
Kst.windows[0].view.children[0].size = new Size(20,20)
Kst.windows[0].view.children[0].size

RESULTS:
The size is reported as 19,19 or 19,20

EXPECTED RESULTS:
The size is reported as 20,20 - as it was just previously set
Comment 1 Andrew Walker 2007-09-26 19:20:56 UTC
SVN commit 717343 by arwalker:

BUG:150173 correctly round the _geom position values when setting them

 M  +14 -5     kstviewobject.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=717343