Issue 789: No longer able to reset settings in Tools > Options > Misc tab

Assigned To:Brendan MacLean
Opened:2021-04-11 by Brendan MacLean
Changed:2021-04-28 by matt.chambers42
Resolved:2021-04-28 by matt.chambers42
2021-04-11 Brendan MacLean
Title»No longer able to reset settings in Tools > Options > Misc tab
Assigned To»Nick Shulman
Unfortunately, I just noticed that a feature I added to help with teaching no longer works as it used to. In the Tools > Options - Misc tab there is a button "Clear All Saved Settings". When I click it and OK the warning about the impact being immediate, some things appear to have been reset (though not in the Tools > Options form itself, where my Prosit server remained what it was before - until I Cancel - and come back). For instance, the File > recent list is empty. However, when I exit Skyline and restart it, my entire recent files list is back. And sadly, using this on a tutorial I ran into other evidence of saved settings even when I did not restart Skyline.

I would really like this to work as well as closing Skyline, finding the user.config and removing it. (or uninstalling and reinstalling).

Nick, can you have a look at this. I have a lot to focus on with teaching the course in the next 2 days.

2021-04-11 Brendan MacLean
This is related to the way we upgrade our user.config from one version to the next. I now have to remove multiple user.config files in order to reset my settings back to the defaults. When I look at the Data folder where the folders that hold the user.config files reside, I see the following:

12/08/2020 03:38 PM <DIR>
12/08/2020 03:38 PM <DIR>
12/08/2020 03:38 PM <DIR>
12/08/2020 03:38 PM <DIR>
12/08/2020 03:38 PM <DIR>
04/11/2021 12:22 PM <DIR>
04/11/2021 12:22 PM <DIR>

I had to remove the user.config files from both and in order to get back to where Skyline was using our default settings.

2021-04-12 matt.chambers42
Would this be fixed by simply setting SettingsUpgradeRequired = false immediately when resetting to defaults?

2021-04-28 matt.chambers42
resolve as Fixed
Assigned ToNick Shulman»Brendan MacLean