Bug 256153 - Purge button purges also used vectors
Summary: Purge button purges also used vectors
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 2.0.1
Platform: Compiled Sources Microsoft Windows
: HI grave
Target Milestone: 2.0.1
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-05 16:05 UTC by Grégoire Verlut
Modified: 2012-10-11 09:21 UTC (History)
3 users (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 Grégoire Verlut 2010-11-05 16:05:27 UTC
Version:           2.0.1
OS:                MS Windows

-open kst
-with the wizard load a file and take 2 vectors out of it, let also the wizard plot them as an x/y plot
-create an equation where the 2 vectors are used and let plot them
-delete the first plot (created by the wizard)
-open the data manager and purge
-not only the first curve is removed but also the equation and in fact all the vectors/curves/equations.


Reproducible: Always

Steps to Reproduce:
see above



OS: Windows 32-Bit taken at
http://sourceforge.net/projects/kst/files/Snapshots/Kst-2.0.1-rc1.exe/download
Comment 1 Netterfield 2010-11-08 19:23:40 UTC
SVN commit 1194332 by netterfield:


BUG:256153
Use the right list.

-This line, and those below, will be ignored--

M    kst/src/libkstapp/datamanager.cpp


 M  +5 -22     datamanager.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1194332
Comment 2 Peter Kümmel 2010-11-12 10:37:18 UTC
There is no version list for "Version Fixed in".
Use Target Milestone as indicator when the bug was fixed.
Comment 3 Grégoire Verlut 2011-04-26 17:46:57 UTC
The problem sees to be still there in the release 2.0.3 (latest windows release)

I load a vector and use the first element in a label, but the vector is not used in any plot
When I do "data manager / purge", kst removes this vector, so that the label losts the first element of the vector.
Comment 4 Nicolas Brisset 2011-04-27 18:17:35 UTC
I'm not sure it's the same bug, but in any case there seems to be some issues with dependencies and updates. I'll open another report to collect all the cases.
Comment 5 Grégoire Verlut 2012-07-26 11:51:39 UTC
Purge button in the data manager stills erase all the vectors / equation / curves, even the used ones

I'm using 2.0.6 for windows 32-bit revision 1307223
Comment 6 Nicolas Brisset 2012-07-27 16:36:19 UTC
I can confirm that Purge deletes too many objects. I think this needs to be looked at, it could lead to crashes and data loss!
Comment 7 Netterfield 2012-07-27 16:44:55 UTC
Really?  can you give a case?

On Fri, Jul 27, 2012 at 11:36 AM, Nicolas Brisset <
nicolas.brisset@eurocopter.com> wrote:

> https://bugs.kde.org/show_bug.cgi?id=256153
>
> Nicolas Brisset <nicolas.brisset@eurocopter.com> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>            Priority|NOR                         |HI
>              Status|UNCONFIRMED                 |NEW
>                  CC|
>  |nicolas.brisset@eurocopter.
>                    |                            |com
>      Ever confirmed|0                           |1
>            Severity|normal                      |grave
>
> --- Comment #6 from Nicolas Brisset <nicolas.brisset@eurocopter.com> ---
> I can confirm that Purge deletes too many objects. I think this needs to be
> looked at, it could lead to crashes and data loss!
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.
> _______________________________________________
> Kst mailing list
> Kst@kde.org
> https://mail.kde.org/mailman/listinfo/kst
>
Comment 8 Netterfield 2012-10-11 02:44:26 UTC
As far as I can tell, this has been fixed in svn by my recent commits (2.0.7 dev).
Comment 9 Nicolas Brisset 2012-10-11 06:25:29 UTC
The problems I had seem to be solved. I'll continue testing, but it would be nice if we had a Windows snapshot to gather more feedback from other people. Peter, can you prepare one?
Comment 10 Peter Kümmel 2012-10-11 09:21:20 UTC
https://github.com/syntheticpp/kstbinary
Downloading by clicking on "ZIP". Then you get a zip which contains a zipped Kst.