Emulator Issues #12530
High Contrast Mode makes every other list entry unreadable in the UI
Game ID? (right click the game in the game list, Properties, Info tab)
MD5 Hash? (right click the game in the game list, Properties, Verify tab, Verify Integrity button)
What's the problem? Describe what went wrong.
When in Windows 10 High Contrast Mode the list view has the background of every other entry white, making the text unreadable.
What steps will reproduce the problem?
Turn on High Contrast Mode and start Dolphin.
Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.
Is the issue present in the latest stable version?
If the issue isn't present in the latest stable version, which is the first broken version? (You can find the first broken version by bisecting. Windows users can use the tool https://forums.dolphin-emu.org/Thread-green-notice-development-thread-unofficial-dolphin-bisection-tool-for-finding-broken-builds and anyone who is building Dolphin on their own can use git bisect.)
If your issue is a graphical issue, please attach screenshots and record a three frame fifolog of the issue if possible. Screenshots showing what it is supposed to look like from either console or older builds of Dolphin will help too. For more information on how to use the fifoplayer, please check here: https://wiki.dolphin-emu.org/index.php?title=FifoPlayer
What are your PC specifications? (CPU, GPU, Operating System, more)
Core i7-7700k, NVIDIA RTX 3080, Windows 10 21H1, 200% DPI Scaling
Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)
A possible fix is to query high contrast on startup and whenever WM_THEMECHANGED is detected, then call SystemParametersInfo function with uiAction set to SPI_GETHIGHCONTRAST. If High Contrast is enabled, then set the "shaded" lines to the default Windows background color like the "unshaded" lines.
Info for the SystemParametersInfo function can be found at https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-systemparametersinfow