0

Whenever I start debugging a web project from Visual Studio 2019, and it opens Google Chrome, various text in Chrome darkens. The tab title, the forward/back arrows, and the folder names in the bookmarks bar all darken.

Screen capture of darkened text

On subsequent openings of Google Chrome, the text remains dark, and it has even gotten to the point where Google syncs the darkened text to other computers with that Google Account.

As a workaround, I've been enabling Windows 10's high contrast settings, and then disabling them to "reset" all of the font styles in Google Chrome. This works until I start debugging from Visual Studio again.

Another workaround that works is removing and re-adding the Google Theme. I've used multiple different themes, it isn't just the one I'm using ("Just Black").

Is there a setting in either Windows or Visual Studio to prevent this from happening?

8
  • My best guess is that Visual Studio is leveraging something from Windows to darken the text in the Visual Studio menus, and, as a side effect, is also darkening Google Chrome's text. Commented Mar 7, 2022 at 18:26
  • Are you using a Dark theme in Windows?
    – harrymc
    Commented Mar 7, 2022 at 19:52
  • I am not using a Dark theme in Windows Commented Mar 8, 2022 at 13:31
  • Does this happen if you are not using the Google Theme before starting Visual Studio?
    – harrymc
    Commented Mar 8, 2022 at 15:18
  • The default Chrome browser has dark text similar to what is experienced after starting Visual Studio. It's impossible to tell. I can say that I've tried a variety of themes, and if that theme's text is of a different color, it changes back to that dark text after starting Visual Studio. It isn't just this one theme. Commented Mar 8, 2022 at 17:49

1 Answer 1

0

After updating Visual Studio 2019 to its newest version (without upgrading to 2022), the problem resolved itself.

I went from 16.10.4 to 16.11.10

Edit: Seems like this was fixed in version 16.11.0:

Fixed an accessibility issue causing High Contrast Account Settings to not show.

or

Fixed the Luminosity contrast ratio for Country boundary Foreground/background color to be greater or equals to 3:1 so that visually impaired users can identify these controls.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .