[Kst] [Bug 295502] New: Field list in "Configure ASCII file" dialog doesn't auto-update

D. V. Wiebe dvw at ketiltrout.net
Thu Mar 8 00:46:12 UTC 2012


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

            Bug ID: 295502
          Severity: normal
           Version: 2.0.4
          Priority: NOR
          Assignee: kst at kde.org
           Summary: Field list in "Configure ASCII file" dialog doesn't
                    auto-update
    Classification: Unclassified
                OS: Linux
          Reporter: dvw at ketiltrout.net
          Hardware: Compiled Sources
            Status: UNCONFIRMED
         Component: datasources
           Product: kst

In the "General Options" section of the "Configure ASCII file" dialog box is a
drop-down list of fields used in the "Interpret: <FOO> As: <BAR>" item.  This
drop-down list is populated with the list of available fields (=columns) when
the dialog box is opened.  However, the list of fields changes based on the
rest of the datasource configuration (notably the Data Column Layout), yet the
list of fields in the "Interpret: <FOO> As: <BAR>" option doesn't update.

STEPS TO REPRODUCE:
1. In the "Configure ASCII file" dialog, ensure that "Space/tab delimited" is
selected.
2. Tools -> Data Wizard
3. In the datasource name box, enter the name of a comma-separated (CSV) ascii
file with at least two columns
4. "Configure..." to open the "Configure ASCII file" dialog with this CSV file.
 The dialog box should be primed with the first 100 lines of the specified CSV
file. 
5. Check the field list drop-down box under "General Options".  It should have
two fields listed: INDEX, and "Column 1".
6. Select "Custom delimiter" and input a comma in the associated text box.
7. Check the field list drop-down box again.

RESULT:

The field list drop-down box still contains only INDEX and "Column 1".

EXPECTED RESULT:

The field list drop-down box should contain a list of all fields in the
datasource, and should change when the datasource configuration changes the
fields available in the datasource.

WORK-AROUND

This bug can be worked around by modifying the datasource configuration as
appropriate, pressing "OK" to close the dialog box and commit the configuration
changes and then re-opening the dialog (which will cause the field list to be
populated with the field list using the new configuration.)

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


More information about the Kst mailing list