Bug 134501

Summary: Vectors created from the command line don't make it to the vector list
Product: [Applications] kst Reporter: Netterfield <netterfield>
Component: generalAssignee: kst
Status: RESOLVED FIXED    
Severity: critical    
Priority: VHI    
Version First Reported In: 1.x   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: patch to make vectors always appear from the command line

Description Netterfield 2006-09-22 17:32:30 UTC
Version:           1.3.0 (using KDE 3.5.3, Kubuntu Package 4:3.5.3-0ubuntu0.2 dapper)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.15-27-386

Create a file from the command line
eg:
kst -y GYRO1 -y GYRO2 -f 0 -n 1000 /data/rawdir/BlastTestFlight

go into the data manager: no vectors.  Edit one of the curves: no vectors in the vector combo boxes.

This is critical, and the fix should generate an immediate 1.3.1!

A patch will follow.
Comment 1 Netterfield 2006-09-22 17:40:37 UTC
Created attachment 17880 [details]
patch to make vectors always appear from the command line
Comment 2 Netterfield 2006-09-22 17:53:22 UTC
SVN commit 587390 by netterfield:

Always remember the vector.
CCBUG: 134501


 M  +3 -0      main.cpp  


--- trunk/extragear/graphics/kst/src/kst/main.cpp #587389:587390
@@ -278,7 +278,10 @@
       startupErrors.append(i18n("Failed to create vector '%1' from file '%2'.").arg(field).arg(file->fileName()));
       V = 0L;
     }
+  } else {
+    KST::addVectorToList(V);
   }
+    
 
   return V;
 }
Comment 3 Adam Treat 2006-10-16 20:49:38 UTC
Is this fixed with the patch above?
Comment 4 George Staikos 2006-10-16 21:57:34 UTC
Yes