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

issues
Status:resolved
Assigned To:Brendan MacLean
Type:Defect
Area:Skyline
Priority:2
Milestone:21.1
Opened:2021-04-11 by Brendan MacLean
Changed:2021-04-28 by matt.chambers42
Resolved:2021-04-28 by matt.chambers42
Resolution:Fixed
Closed:
2021-04-11 Brendan MacLean
Title»No longer able to reset settings in Tools > Options > Misc tab
Assigned To»Nick Shulman
Type»Defect
Area»Skyline
Priority»2
Milestone»21.1
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
Notify»matt.chambers42
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> 1.0.0.0
12/08/2020 03:38 PM <DIR> 20.1.0.155
12/08/2020 03:38 PM <DIR> 20.1.0.28
12/08/2020 03:38 PM <DIR> 20.1.0.31
12/08/2020 03:38 PM <DIR> 20.1.0.76
04/11/2021 12:22 PM <DIR> 20.2.0.286
04/11/2021 12:22 PM <DIR> 20.2.0.343

I had to remove the user.config files from both 20.2.0.343 and 20.2.0.286 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
Statusopen»resolved
Assigned ToNick Shulman»Brendan MacLean