[Kst] [Bug 101214] New: static X axis vector problems in Equations

netterfield at astro.utoronto.ca netterfield at astro.utoronto.ca
Thu Mar 10 04:40:12 CET 2005

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
           Summary: static X axis vector problems in Equations
           Product: kst
           Version: unspecified
          Platform: unspecified
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kst kde org
        ReportedBy: netterfield astro utoronto ca

Version:           1.1.0_devel (using KDE 3.3.2 Level "a" , SUSE 9.2 UNSUPPORTED)
Compiler:          gcc version 3.3.4 (pre 3.3.5 20040809)
OS:                Linux (i686) release 2.6.8-24.11-default

If we create an equation using a static X vector, when we edit it, the vector is destroyed and recreated.  Now any curves which used the equation are pointing to an orphan vector....  Save fails and
changes to the equation's X vector are mysteriously not followed by the curve.

There are two solutions to this problem:
        1) equations no longer generate or hold static vectors, but vector dialogs gain the ability to create/edit vectors as well as Rvectors. To be compatible w/ old .ksts, we will have to modify the constructor.

        2) equations split in two - those with static vectors, handled like psd's currently handle their -freq slave vector (in which case xvector is an output vector), and those with input X vectors handled as they are now, with X vectors as inputs.
It will be impossible to change types once created.

I like (1) better.


More information about the Kst mailing list