Qt 6.11 is out! See what's new in the release
blog
[Closed] Qt5: Windows 7 theme change causes styling glitches
General and Desktop
4
Posts
2
Posters
1.6k
Views
1
Watching
-
Qt version = 5.1.1
OS version = Windows 7 32bitHello.
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