Bug 87465 - Prompt to use wizard or open file on kst start
Summary: Prompt to use wizard or open file on kst start
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 1.x
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Rick Chern
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-18 22:13 UTC by Rick Chern
Modified: 2004-08-26 23:34 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rick Chern 2004-08-18 22:13:41 UTC
Version:           1.0.0_devel (using KDE KDE 3.2.1)
Installed from:    Compiled From Sources
OS:                Linux

(non-important wish below)

When kst is started without any data files, plots, or .kst files, instead of displaying a blank window, there could be a dialog that lets the user select from 2 options:
 - open existing file (with a list of recent files below, and a text field with button that pops up a file browser dialog)
 - import data using data wizard

Selecting an option and clicking OK will either open the file or start the data wizard.

At the bottom of the dialog would be a Close/Cancel button to close the dialog without doing anything, and a checkbox that says "Show this dialog at startup".  Unchecking it would prevent it from showing in the future.  In the Kst Settings dialog, there could be an option called "Show QuickStart dialog on startup", in case the user wants to enable it again. 

There could be command-line option to surpress the dialog for that instance, no matter what the setting is.
Comment 1 Rick Chern 2004-08-25 21:02:15 UTC
I will start working on this if there are no objections.
Comment 2 Netterfield 2004-08-25 23:32:54 UTC
I surveyed the BLAST team on this.

4 in favor of the current behavior.
1 in favor of a popup as suggested (needs variety of options)
1 in favor of a jpg (?????) [this is probably a joke].

So - if you are going to do this, make it user-turn-offable....

cbn

On August 25, 2004 03:02 pm, Rick Chern wrote:
> ------- You are receiving this mail because: -------
> You are the assignee for the bug, or are watching the assignee.
>
> http://bugs.kde.org/show_bug.cgi?id=87465
> rchern interchange ubc ca changed:
>
>            What    |Removed                     |Added
> ---------------------------------------------------------------------------
>- AssignedTo|kst kde org                 |rchern interchange ubc ca
> Status|NEW                         |ASSIGNED
>
>
>
> ------- Additional Comments From rchern interchange ubc ca  2004-08-25
> 21:02 ------- I will start working on this if there are no objections.
> _______________________________________________
> Kst mailing list
> Kst@kde.org
> https://mail.kde.org/mailman/listinfo/kst

Comment 3 Matthew Truch 2004-08-26 19:47:55 UTC
The startup dialog looks good.  I think if one enters a valid data source, and clicks on "datawizard", the datawizard should start at the field selection pane, not at the data source selection (normal data wizard start), as one has already selectetd the data.  
Comment 4 Rick Chern 2004-08-26 20:03:14 UTC
CVS commit by rchern: 

Clean up the quickstart dialog and implement its remaining functionality. 

CCMAIL: 87465@bugs.kde.org


  M +6 -2      kst.cpp   1.221
  M +1 -1      kst.h   1.104
  M +12 -1     kstquickstartdialog_i.cpp   1.3
  M +215 -154  quickstartdialog.ui   1.2



Comment 5 Rick Chern 2004-08-26 22:47:36 UTC
The file field is intended to be associated with the "Recent Files" list, so I think it makes sense to only use it for *.kst files (in the latest dialog, this is made more clear by grouping the two together, and by separating the Data Wizard... button from the other buttons).  
Comment 6 Rick Chern 2004-08-26 23:34:40 UTC
CVS commit by rchern: 

Change caption to indicate that files are Kst session files, not data files.  Choosing a data file for the data wizard is still one click away (clicking the Data Wizard... button)

CCMAIL: 87465-done@bugs.kde.org


  M +1 -1      quickstartdialog.ui   1.3


--- kdeextragear-2/kst/kst/quickstartdialog.ui  #1.2:1.3
@@ -119,5 +119,5 @@
             </property>
             <property name="title">
-                <string>Open an existing file</string>
+                <string>Open an existing Kst session</string>
             </property>
             <grid>