Bug 118697

Summary: "Change data file" no longer creates the curves in "duplicate" mode
Product: [Applications] kst Reporter: Nicolas Brisset <nicolas.brisset>
Component: generalAssignee: kst
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version: 1.x   
Target Milestone: ---   
Platform: unspecified   
OS: Solaris   
Latest Commit: Version Fixed In:

Description Nicolas Brisset 2005-12-20 11:13:13 UTC
Version:           1.2.0_devel (using KDE 3.4.0, compiled sources)
Compiler:          gcc version 3.4.3
OS:                SunOS (sun4u) release 5.8

If you want to compare two files, the "duplicate" mode in the "Change data file" wizard is extremely convenient. However, it seems that the curves using the new vectors are no longer created (they used to be).

To reproduce:
- prepare 2 data files with common vectors (say file1.dat and file2.dat)
- start kst
- plot vec1 vs INDEX from file1.dat
- invoke the Tools->Change data file wizard
- select all vectors from file1
- select file2.dat as new data file
- check "duplicate" selected vectors and matrices
- hit "Apply": there is still only one curve in the plot

Expected behavior: vec1' and INDEX' get created, and a new curve is added in the plot where vec1 vs INDEX was plotted.
(I haven't checked whether dependents are properly built or not)

This most excellent functionality needs to be fixed for 1.2.0 as far as I'm concerned !
Comment 1 George Staikos 2005-12-20 16:00:31 UTC
You need to click the checkbox to create dependencies too.  I just tested all cases and it works fine here.  If that still doesn't work for you, then it's probably just a duplicate of #118696 in some way.
Comment 2 Nicolas Brisset 2005-12-20 16:10:10 UTC
Right, I'm sorry :-(
Actually, I thought curves would always be created, and the "Duplicate dependents" checkbox was needed only for equations and plugins... I implicitly assumed that someone using this would at least want to see the curves. 
So, maybe the right question is: why is there this option of creating only the new vectors (I can't really think of cases where I'd use it) ? If it's not important, it might as well disappear, otherwise would someone mind if "Duplicate dependents" defaulted to checked ?
Comment 3 Netterfield 2005-12-20 16:49:14 UTC
Duplicate dependents is the common case, and should be the default.