Inconsistent behaviour of Options
Jindrich Novy
jnovy at redhat.com
Thu Mar 9 12:48:20 UTC 2006
Hi mc-devel,
there are two types of dialogs in Options menu. The first type contains
three buttons: Ok, Save, Cancel and the second only Ok and Cancel.
There's a default action in the dialogs with only Ok and Cancel that Ok
saves the configuration globally so that it's written to ini file just
after finishing the dialog.
If you try to configure with "Options/Configuration..." and
"Options/Layout..." you see Ok, Save, Cancel. If you press either Ok or
Save the settings are written to ini file so that the settings will be
set again when new mc is launched and not only for the current session.
The question is whether to fix the bug in the way that:
1. "Ok" sets the parameters only for the current session and won't touch
the ini file. "Save" saves the configuration to ini file so that it's
needed to add the "Save" button to the rest of the Options dialog
entries to make it consistent.
2. "Ok" sets the parameters to ini file for all the dialogs, so that
it's needed to remove "Save" button from the Layout and Configuration
options to make it consistent.
What's your opinion?
Jindrich
More information about the mc-devel
mailing list