Bug 96235 - Save vectors to disk is misleading
Summary: Save vectors to disk is misleading
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 1.1.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-03 19:26 UTC by Andrew Walker
Modified: 2005-01-05 19:46 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Walker 2005-01-03 19:26:06 UTC
Version:           1.0.1 (using KDE KDE 3.2.1)
Installed from:    Compiled From Sources
OS:                Linux

The Save Vectors to Disk... menu item is misleading as you can actually save only a single vector to disk at a time. Either the corresponding dialog should enable the saving of multiple vectors or the menu item should be changed.
Comment 1 Andrew Walker 2005-01-03 23:06:34 UTC
One approach would be to give the user the ability to select multiple vectors to save.

A checkbox would allow them to specify whether each vector is saved to a different file (the filename would be the vector name, with an optional prefix, e.g. <prefix><vector name>.dat)
or to the same file with the data interpolated to a specified vector, or to the highest resolution vector.
Comment 2 Netterfield 2005-01-03 23:27:05 UTC
Sounds good.

Comment 3 Nicolas Brisset 2005-01-04 09:49:44 UTC
Yes, please do that, but allow to add a header line with vector names on top of the plot, especially when all vectors are saved to one file. I'm working on the ASCII datasource config options, and it should allow to read such files easily in the near future, which is much more convenient than reading/maintaining multiple files (one per vector).
Comment 4 George Staikos 2005-01-05 05:29:45 UTC
CVS commit by staikos: 

Make the vector save dialog capable of saving multiple vectors.  They are saved
as columns to the same file, and a header is written with the vector names. 
This exposes a bug in the ascii reader which I will investigate next.

FEATURE: 96235


  M +58 -1     kstdatacollection-gui.cpp   1.13
  M +2 -1      kstdatacollection.h   1.24
  M +9 -3      vectorsavedialog.ui   1.6
  M +30 -22    vectorsavedialog.ui.h   1.3



Comment 5 Netterfield 2005-01-05 19:46:07 UTC
Make the col. labels
-Optional
-Auto-generated
-have it start with a comment character for now ('#') so it gets ignored.
-don't bother aligning col with the col labels, as it will be ~impossible for 
long vector label names anyway.