[Kst] [Bug 150173] New: JavaScript does not consistently report the size of a box

Andrew Walker arwalker at sumusltd.com
Tue Sep 25 00:38:16 CEST 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=150173         
           Summary: JavaScript does not consistently report the size of a
                    box
           Product: kst
           Version: 1.4.0
          Platform: unspecified
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kst kde org
        ReportedBy: arwalker sumusltd com


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


More information about the Kst mailing list