Bug 150309 - Better default "export to graphics file" name
Summary: Better default "export to graphics file" name
Alias: None
Product: kst
Classification: Unclassified
Component: general (show other bugs)
Version: 1.x
Platform: Compiled Sources Linux
: NOR wishlist (vote)
Target Milestone: ---
Assignee: kst
Depends on:
Reported: 2007-09-28 20:57 UTC by D. V. Wiebe
Modified: 2007-10-09 23:01 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Note You need to log in before you can comment on or make changes to this bug.
Description D. V. Wiebe 2007-09-28 20:57:36 UTC
Version:           1.5.0_svn_716462 (using KDE KDE 3.5.7)
Installed from:    Compiled From Sources
Compiler:          gcc (GCC) 4.1.2 
OS:                Linux

Currently the "save location" in the Export to Graphics File dialog defaults to the last filename used.  It would be more useful if the default would instead be the basename of the current .kst file, plus the appropriate image suffix.

I'm in the process of generating thesis plots.  Each plot has its own .kst file, and switching between them currently requires me to manually change the export filename each time a particular plot is changed (with the occasional accidental overwriting of the wrong exported plot).
Comment 1 Andrew Walker 2007-10-09 23:01:12 UTC
SVN commit 723509 by arwalker:

BUG:150309 Change the default graphics file export name to match that of the kst file when a new kst file is opened. Also, select a better default graphics file export name the first time kst is started.

 M  +12 -1     kst.cpp  
 M  +11 -1     kstgraphfiledialog_i.cpp  
 M  +20 -1     kstquickstartdialog_i.cpp  
 M  +1 -1      kstquickstartdialog_i.h  

WebSVN link: http://websvn.kde.org/?view=rev&revision=723509