Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[Closed] Qt5: Windows 7 theme change causes styling glitches
Qt version = 5.1.1
OS version = Windows 7 32bit
To reproduce this bug just switch Windows theme from "aero" to "high contrast #2" and back. It looks like Qt drawing engine doesn't update some styling parameters so you will see green text on black background on "aero"-styled windows.
How can I fix it?
Sounds like a bug.
Maybe you could "reapply the style":http://qt-project.org/doc/qt-5.0/qtwidgets/qapplication.html#setStyle when your app receives "WM_DWMCOMPOSITIONCHANGED ":http://msdn.microsoft.com/en-us/library/windows/desktop/dd388199.aspx message.
It doesn't work, unfortunately. So I made a bug-report: "QTBUG-34170":https://bugreports.qt-project.org/browse/QTBUG-34170
Success. Waiting for Qt 5.2.