[Kst] [Bug 298777] New: Better handling of missing data source files

egretengineering+kde at gmail.com egretengineering+kde at gmail.com
Wed Apr 25 03:54:38 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=298777

            Bug ID: 298777
          Severity: wishlist
           Version: 2.0.4
          Priority: NOR
          Assignee: kst at kde.org
           Summary: Better handling of missing data source files
    Classification: Unclassified
                OS: MS Windows
          Reporter: egretengineering+kde at gmail.com
          Hardware: MS Windows
            Status: UNCONFIRMED
         Component: general
           Product: kst

When Kst cannot find a data file it generates a generic error which does not
help the user identify that the data file is missing.

A better solution is to inform the user that one or more data files are missing
and give the user the opportunity to locate it/them.

Reproducible: Didn't try

Steps to Reproduce:
1. Start a new Kst session
2. Import some data from an external file
3. Save the session and close Kst
4. Move the data file to a new location
5. Open the recently saved .kst file
Actual Results:  
A generic error is generated:
"Error opening document 'path/to/kst/file': Maybe it is a Kst1 file which could
not be read by Kst2."

Expected Results:  
Kst should inform the user that data file(s) are missing and give the user the
opportunity to locate them.

At a minimum Kst should generate an error specific to the problem e.g.

Error: Cannot find data file "path/to/data/file/datafilename"

An even better solution would be to have a dialogue box that informs the user
that one or more data files are missing. For each missing data file the user is
presented with three options:

1. Ignore - the .kst file opens but with data missing
2. Browse - opens a dialogue box for the user to browse for the missing file
3. Cancel - the .kst file is not loaded

It would also be good if this worked for a change in name of the data file i.e.
when the user is given the opportunity to browse to find the missing file, the
selected file does not have to have the same name as the original file.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kst mailing list