URL Prefs' "reset to defaults" broken
Posted: Sun Jun 23, 2013 11:59 pm
URL PRefs' "reset to defaults" menu item obliterates the user's preferences without asking.
To reproduce:
1. Open URL PRefs
2. Add an extra entry called TEST
3. Click Save
4. Re-open URL Prefs and verify the TEST entry is still present
5. Select "Reset to defaults" from the "Edit" menu
6. Note the TEST entry disappears as it should
7. Click CANCEL
8. Re-open URL Prefs. Note that the TEST entry has not re-appeared and even "Last saved" does not bring it back.
URL Prefs overwrites the user's saved and current configuration when selecting "reset to defaults" rather than waiting for the settings to be saved or used.
On further investigation what it does is immediately DELETES the configuration from ENV: and ENVARC:. There is also no "Use" button on the GUI, which is non-standard, and as it uses the standard ENV/ENVARC setup I don't see why this is missing?
To reproduce:
1. Open URL PRefs
2. Add an extra entry called TEST
3. Click Save
4. Re-open URL Prefs and verify the TEST entry is still present
5. Select "Reset to defaults" from the "Edit" menu
6. Note the TEST entry disappears as it should
7. Click CANCEL
8. Re-open URL Prefs. Note that the TEST entry has not re-appeared and even "Last saved" does not bring it back.
URL Prefs overwrites the user's saved and current configuration when selecting "reset to defaults" rather than waiting for the settings to be saved or used.
On further investigation what it does is immediately DELETES the configuration from ENV: and ENVARC:. There is also no "Use" button on the GUI, which is non-standard, and as it uses the standard ENV/ENVARC setup I don't see why this is missing?