Bug 150173 - JavaScript does not consistently report the size of a box
Summary: JavaScript does not consistently report the size of a box
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 1.4.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-25 00:38 UTC by Andrew Walker
Modified: 2007-09-26 19:20 UTC (History)
0 users

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 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