[Kst] [Bug 159095] New: Plots created using javaScript are not always added to window

Andrew Walker arwalker at sumusltd.com
Mon Mar 10 21:58:17 CET 2008


------- 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=159095         
           Summary: Plots created using javaScript are not always added to
                    window
           Product: kst
           Version: 1.4.0
          Platform: Compiled Sources
        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 3.5.9)
Installed from:    Compiled From Sources
OS:                Linux

In the following code snippet:

 name="X Corr";
 if (Kst.windows[name]) Kst.windows[name].close();
 myWindow = new Window(name);
 myWindow.name=name;
 crossPowerPlot=new Plot(Kst.windows[1]);

it is not always the case that the plot is added to the window. If the last line is changed to:

 crossPowerPlot=new Plot(myWindow);

everything seems to work fine. Using crossPowerPlot=new Plot(Kst.windows[name]) causes the same
problems.


More information about the Kst mailing list