Project

General

Profile

Emulator Issues #12530

High Contrast Mode makes every other list entry unreadable in the UI

Added by BFeely 23 days ago. Updated 23 days ago.

Status:
New
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Game Name?

N/A

Game ID? (right click the game in the game list, Properties, Info tab)

N/A

MD5 Hash? (right click the game in the game list, Properties, Verify tab, Verify Integrity button)

N/A

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.

5.0-14318

Is the issue present in the latest stable version?

Not tested

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.)

Not tested

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

dolphin-high-contrast.png

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)

N/A

dolphin-high-contrast.png (217 KB) dolphin-high-contrast.png Screenshot of Dolphin UI in High Contrast Mode BFeely, 05/30/2021 01:18 AM
8393

History

#1 Updated by BFeely 23 days ago

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

Also available in: Atom PDF