Xamarin.forms: Dark mode on Mojave doesn't work right

Created on 13 Sep 2018  路  2Comments  路  Source: xamarin/Xamarin.Forms

Description

When using Dark Mode on Mojave, controls are unusable due to the way they are drawn (for example no visible text on buttons).

Steps to Reproduce

  1. Create a macOS Forms app.
  2. Run it on macOS Mojave (beta)
  3. 3.

Expected Behavior

Apps should be usable

Actual Behavior

Parts of the controls are not visible

Basic Information

  • Version with issue: 3.1.0.697729
  • Last known good version: None
  • IDE: VS for Mac
  • Platform Target Frameworks:

    • macOS

  • Affected Devices: macOS running Mojave

Screenshots

Light mode:

light

Dark Mode:

dark

Reproduction Link

https://github.com/jimbobbennett/SqueakyAppLinuxAndMac

3 help wanted macOS bug up-for-grabs

Most helpful comment

A workaround for this is to add "NSRequiresAquaSystemAppearance" with "Yes" in your Info.plist. This will set the application to disregard the "Dark Mode" of the OS.

All 2 comments

A workaround for this is to add "NSRequiresAquaSystemAppearance" with "Yes" in your Info.plist. This will set the application to disregard the "Dark Mode" of the OS.

Discussed this with @migueldeicaza today:
It may worth to think about proper support of Dark mode

Was this page helpful?
0 / 5 - 0 ratings