Bug 256401 - Saving and reloading a file leads to empty data manager
Summary: Saving and reloading a file leads to empty data manager
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 2.0.1
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: 2.0.3
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-08 23:10 UTC by Nicolas Brisset
Modified: 2011-01-19 20:23 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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