diff --git a/NEWS.md b/NEWS.md index bcdd9eaf5..ec24788a3 100644 --- a/NEWS.md +++ b/NEWS.md @@ -12,7 +12,10 @@ priority setting for new installations in order to leave more room for other applications, especially interactive ones. Up to and including v59 the default was the "normal" process priority. v60 changed that to "lowest", - which turned out to be much slower on Windows for no real gain over "lower". + which turned out to be much slower on Windows for no real gain over + "lower". The setting will be auto-corrected by the GUI if the settings file + were saved last with a version between v60.0.0.0 & v60.0.0.17 & "lowest" & + it is still set to "lowest". ## Bug fixes diff --git a/src/mkvtoolnix-gui/util/settings.cpp b/src/mkvtoolnix-gui/util/settings.cpp index 995ea46e9..69b6e2976 100644 --- a/src/mkvtoolnix-gui/util/settings.cpp +++ b/src/mkvtoolnix-gui/util/settings.cpp @@ -313,6 +313,15 @@ Settings::convertOldSettings() { reg->endGroup(); reg->endGroup(); } + + // v60 changed default process priority to "lowest", which isn't a + // good idea; 60.0.0.18 amended it to "low". + if ((writtenByVersion >= version_number_t{"60.0.0.0"}) && (writtenByVersion < version_number_t{"60.0.0.18"})) { + reg->beginGroup(s_grpSettings); + if (reg->value(s_valPriority).toInt() == static_cast(LowestPriority)) + reg->setValue(s_valPriority, static_cast(LowPriority)); + reg->endGroup(); + } } void