Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8048549

[macosx] Disable usage of system menu bar if AWT is embedded in FX

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8u40, 9
    • Fix Version/s: 9
    • Component/s: client-libs
    • Labels:
    • Environment:

      Mac OS X

    • Subcomponent:
    • Resolved In Build:
      b24
    • OS:
      os_x

      Backports

        Description

        Only one GUI toolkit should manage the system menu bar, even though we allow several GUI toolkits to be running simultaneously. Otherwise, bad things may happen (e.g. https://javafx-jira.kenai.com/browse/RT-24453 ).

        FX won't use the system menu bar on Mac if the main running toolkit is AWT, and will fall back to using software menus rendered in the window client areas instead.

        AWT and Swing's Apple L&F should do the same if they detect that they're embedded in JavaFX.

        The corresponding FX bug: https://javafx-jira.kenai.com/browse/RT-37363

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                pchelko Petr Pchelko (Inactive)
                Reporter:
                anthony Anthony Petrov (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: