https://bugs.winehq.org/show_bug.cgi?id=56177 --- Comment #2 from Louis Lenders <xerox.xerox2000x(a)gmail.com> --- Hi, It seems that the undocumented dark-theme api's might possibly change from windows version to windows version, as some sites mention (i mentioned a few of those sites in the merge request thread). Also this site mentions even the ordinal number might have changed: https://codereview.qt-project.org/c/qt/qtbase/+/357262 Quote: " Also there's two undocumented API from UxTheme.dll can help us get the current theme: BOOL WINAPI ShouldAppsUseDarkMode() and BOOL WINAPI ShouldSystemUseDarkMode(). They can only be resolved by ordinal name, the former is 132, the latter is 138. Sadly ShouldAppsUseDarkMode() changed it's ordinal number in some unknown version of Windows, so currently, only ShouldSystemUseDarkMode() is usable." ->end quote Long story short: in my opinion a reliable test is maybe not yet achievable, so my suggestion would just be to comment out the failing test. Francois: what do you think of that? Also: maybe Zhiyi could shed a light on this? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.