[Kst] [Bug 153393] New: changing data file in Edit Vector dialogue corrupts kst file

D.V.Wiebe dwiebe at physics.utoronto.ca
Tue Dec 4 01:13:24 CET 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=153393         
           Summary: changing data file in Edit Vector dialogue corrupts kst
                    file
           Product: kst
           Version: 1.5.0
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kst kde org
        ReportedBy: dwiebe physics utoronto ca


Version:           1.5.0 (using KDE KDE 3.5.8)
Installed from:    Compiled From Sources
Compiler:          gcc (GCC) 4.1.2 
OS:                Linux

Using the Edit Vector dialogue box to change the datasource of a vector, corrupts .kst files.  The problem is that the datasouce encoded into the vector's tag in the .kst file (using the "<datasource>/<field>" format) isn't properly updated.

Steps to reproduce:

1. Plot a field from a datasource.
2. Right click on the plot -> Edit -> Vector
3. In the Edit Vector dialogue, change the datasource to something else that provides the same field.
4. File -> Save -> save session to a .kst file
5. File -> Open -> open the kst file just created.

Results:

  kst will claim to be unable to load the kst file due the vector being missing.

Expected results:

  kst should be able to load the kst file.

The .kst file corruption can be undone by manually editing the .kst file and deleting all the "<datasource>/" parts from vector tag.


More information about the Kst mailing list