The current status is that with 3.2.0 we fixed several issues around high contrast / dark mode detection to make this work in general.
With Windows Enterprise LTSB 2016 we had the original issue that some required API was not available there. But we fixed this and now everything worked, but apparently only on Windows 10 > 17763
On 2016 though we have the problem that apparently some theme elements are not correctly loaded. This causes Kleopatra to look broken:
While the icons are chosen correctly to be the white icons, the issue seems to be that there are version guards checking for Windows 17763 in some places, as, according to documentation the dark mode for applications was introduced with that version.
But to add to the fun (and probably to save the trees!) dark mode support is included in the LTS version of Windows 2016 (lets call it that to be a bit less confusing).
With Qt6 the issue on this Windows version was the same, but could be fixed by adding --platformtheme windowsvista to the command line of Kleopatra.
Here the problem is that the icons are chosen wrongly. But on a recent Windows everything works correctly.
My conclusion is that since Windows 10 2016 does not have full support for Dark Mode Applications and only for High Contrast applications that we disable the check for dark mode based on personalization from this.
Not instantiating KColorSchemeManager should do the trick. And only leave the High Contrast detection, which has been working and which also works in the current GnuPG VS-Desktop / Gpg4win versions.
Since Windows 2016 is still important as a platform for us and the dark mode Kleopatra is unusable there this is somewhat urgent.