Created attachment 173895 [details] screenshot of the observed behavior SUMMARY After updating to GPG4win 4.3.1 and opening Kleopatra (3.2.2.231170) with Windows in Dark Mode, the menu bar and column headers randomly become illegible. STEPS TO REPRODUCE 1. Update to GPG4win 4.3.1 2. Open Kleopatra with Windows in Dark Mode. 3. Wait OBSERVED RESULT The menu bar and column header backgrounds and text both turn white after an unspecified period of time. EXPECTED RESULT The background should remain black. SOFTWARE/OS VERSIONS Windows: Windows 11 Enterprise 22H2
Try starting kleopatra with the command line option `-platform windows:darkmode=2` or by setting the environment variable QT_QPA_PLATFORM to the value "windows:darkmode=2". This should force the usage of a dark palette, but it's possible that some colors still don't work. Alternatively, try using darkmode=0 which should force the usage of the normal light palette. (I haven't tested this because I don't use Windows.) The next major version of Gpg4win, i.e. version 5.0, should support dark themes on Windows out-of-the-box. See https://dev.gnupg.org/T6932.