Bug 256401

Summary: Saving and reloading a file leads to empty data manager
Product: [Applications] kst Reporter: Nicolas Brisset <nicolas.brisset>
Component: generalAssignee: kst
Status: RESOLVED FIXED    
Severity: normal CC: syntheticpp
Priority: NOR    
Version: 2.0.1   
Target Milestone: 2.0.3   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Nicolas Brisset 2010-11-08 23:10:39 UTC
Version:           2.0.1
OS:                Linux

It seems that loading a document after a fresh kst start is not equivalent to loading from an open session. It should be, especially as I've already encountered crashes when working in such a session (nothing reproducible to report, unfortunately)

Reproducible: Always

Steps to Reproduce:
- Load Column1 and Column2 vs INDEX from gyrodata.dat
- Save as 2curves.kst
- Open the data manager: the expected objects are there
- File->Open, select the previously saved file
- The curves are there but the data manager is empty!



Once the application is in that state, I see no way of recovering...
I don't know whether that should be fixed prior to 2.0.1. If it's easy, then probably, otherwise go ahead for 2.0.1. There will be other bugs anyway!
Comment 1 Netterfield 2011-01-16 01:02:42 UTC
SVN commit 1214709 by netterfield:

BUG: 256401
Delete data manager when doc is deleted.



 M  +4 -0      libkstapp/mainwindow.cpp  
 M  +1 -0      libkstmath/histogram.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1214709