TextAnalysisTool / Releases

Repository for storing release artifacts (ex: binaries).
88 stars 26 forks source link

Settings don't always save #41

Closed vincec-msft closed 7 years ago

vincec-msft commented 7 years ago

As reported in a follow-on to issue #39, settings are not always saved. I could not reproduce this in my local installation but could when I ran TextAnalysisTool.NET on Simplified Chinese Windows.

When saving an ArgumentException is thrown when trying to delete the FontFamily registry key (which doesn't exist). Should be a straight-forward fix, but it'll be interesting to find out why it repros on one OS and not another.

vincec-msft commented 7 years ago

The problem occurs when we try to delete registry keys that don't exist. We delete a registry key when a setting is its default value, just to keep the registry clean.

As a work-around, change the Font Family to something other than Courier New and Zoom Percent to something other than 100%. This will cause the app to write those values to the registry rather than trying to delete the registry keys. Only these 2 settings need to be changed.

DavidAnson commented 7 years ago

Should be fixed in version 2017-01-24.