Emit a warning on macOS if AWT has set the NSAppearance

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • jfx23
    • Affects Version/s: jfx22
    • Component/s: javafx
    • None
    • b12

      Platform preferences detection doesn't pick up effective macOS system preferences if AWT owns the NSApplication and has set its NSAppearance to a fixed value.

      The workaround is to set the system property "apple.awt.application.appearance=system".

      If this property is not set, a warning should be emitted if a JavaFX application uses the platform preferences API.

            Assignee:
            Michael Strauß
            Reporter:
            Michael Strauß
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: