Quitting changes resolution
When quitting normally (either with the Quit option or Alt-F4), the resolution in the settings file is changed to be larger and with a different aspect ratio.
I start at 1920x1080.
On a quit, it goes to 2400x1350.
Then to 3200x1800 with a subsequent quit at that resolution.
Then to 3840x2160, where it no longer changes, because that is my monitor's resolution.
This is on OpenMW 0.47.0 but it was also present in 0.46.
System details:
Windows 10
Intel Core i5 4460
AMD Radeon R7 250 2GB
Force quitting does not change the resolution. The log file simply states
[03:52:13.122 V] Using idle priority for thread=1044
[03:52:13.649 I] Playing music/special/morrowind title.mp3
[03:52:15.008 V] Changed setting: [Video] resolution x = 2400
[03:52:15.008 V] Changed setting: [Video] resolution y = 1350
[03:52:15.008 I] Updating settings file: "C:\Users\D\Documents\My Games\OpenMW/settings.cfg"
[03:52:15.021 I] Quitting peacefully.
No explanation for changing the setting. Again, I did not touch the settings ingame. The settings config is not read-only and setting it to read-only is a workaround fix - however, it prevents any settings from saving, whether set in the launcher or ingame.
I've tried looking through the code, but I can't find any function that would change the resolution on a quit. Maybe part of the cleanup? I also tried to build but I was having too many issues so this is all the info I have for now.