开启高对比度模式后部分electron应用无法正常显示

145a 510 信誉分
2025-10-10T11:38:08.1733333+00:00

开了高对比度模式后会应用到所有使用Chromium的应用,导致无法正常显示。浏览器可以通过设置来使正常显示,但是否有办法使electron应用正常显示?(有没有办法只让系统应用高对比度显示?)

Windows 家庭版 | Windows 10 | 桌面、开始和个性化 | 主题
0 个注释 无注释

问题作者接受的答案
Diana Mariz 11,385 信誉分 独立顾问
2025-10-10T12:34:58.04+00:00

Hi,

I believe this is a normal behavior because browser such as chrome has extra settings or flags to control or ignore the high contrast mode which means that it has a custom logic to detect and handle it compared to Electron app that it just obeys the OS and it inherits the same display.

I hope this provides clarification.

此答案是否有帮助?

0 个注释 无注释

0 个其他答案

排序依据: 非常有帮助

你的答案

提问者可以将答案标记为“已接受”,审查方可以将答案标记为“已推荐”,这有助于用户了解答案是否解决了提问者的问题。