[Kst] [Bug 84370] New: Curves still used after plots are deleted

Rick Chern rchern at interchange.ubc.ca
Fri Jul 2 20:09:13 CEST 2004

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
           Summary: Curves still used after plots are deleted
           Product: kst
           Version: unspecified
          Platform: RedHat RPMs
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kst kde org
        ReportedBy: rchern interchange ubc ca

Version:           0.98-devel (using KDE KDE 3.2.1)
Installed from:    RedHat RPMs
Compiler:          gcc (GCC) 3.3.2 20031022 
OS:                Linux

When a plot with curves in it is deleted, the curves "# Used" count does not go down. 

How to reproduce:

- start kst and produce a plot of any curve
- delete the plot (by clicking Delete from plot dialog, or right-clicking the plot and choosing Delete)
- open the Data Manager.  The curve will still have a reference count of 1.

This happens with equations, histograms, powerspectra, etc.

However, creating an arbitrary new data object and placing it in a new plot, and then deleting the plot, will refresh the count to 0 for previous data objects.  The new data object still has an incorrect count of 1 though.

More information about the Kst mailing list