Bug #1020

Updated by Serge Heiden almost 5 years ago

Version: TXM 0.7.6 current update (friday 26 september 2014)

The character 'Encoding', corpus 'Language' and 'Font' combo widgets of the TXT+CSV and XML/w+CSV import modules parameters form editor don't display anything (don't work).

The problem is reported on all OS:
* Windows 8.1
* Mac OS X
* Ubuntu 12.04

MD: I could not reproduce the bug with the TXT+CSV or XML/w modules. Tests done with TXM 0.7.6 (201409191440)
* Ubuntu 12.04
* Ubuntu 14.04
* Mac OS X 10.6
* Windows XP

*New Diagnostic*

The problem seems related to the 'please select the source directory parameter before using the import parameters form widget' behavior/bug.

According to MD, *IF* you select the import source directory (widget at the beginning of the form) before using the UI widgets, the problem disapears.

Current design is that some import parameters form UI widgets are displayed but not initialized and functional until a specific interaction has taken place in the window.

This behavior violates the UI principle that if you provide any UI widget to the user, you must consider that the user will want to use it (interact with it). The UI widget logics should not rely on an hypothetic user behavior.

(experience shows that a lot of TXM users try to play with any import parameters form widgets before selecting the source directory parameter value)

*Solution 1*

Initialize all UI widgets waiting for source directory parameter to disabled state (the user understands that she can not use them).

*Solution 2* (better)

Intitialize all UI widgets with coherent behavior with respect to the current state of the form.

For the import parameters form, one could at least initialize the 'Encoding', corpus 'Language' and 'Font' combo menu widgets to conventionnal values and let the user play with them, even before selecting the source directory parameter.

Back