Bug 134501 - Vectors created from the command line don't make it to the vector list
Summary: Vectors created from the command line don't make it to the vector list
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 1.x
Platform: unspecified Linux
: VHI critical
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-22 17:32 UTC by Netterfield
Modified: 2006-10-16 21:57 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
patch to make vectors always appear from the command line (397 bytes, patch)
2006-09-22 17:40 UTC, Netterfield
Details

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