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

[Mac] Cannot set app name for menu items in app menu of system menubar

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • 8
    • javafx
    • MacOS 10.8 and 10.9, FX 8 b113

      Scene Builder uses the system menu bar on Mac.
      With release 1.1, based of FX 2.2, I've set CFBundleName to "Scene Builder" so that in most left menu one reads "Scene Builder" for both the menu name and the menu entry for Quit.
      With release 2.0, based of FX 8, I face an issue: see attached ApplicationName snapshot. Only the menu name reads "Scene Builder" but menu items use the canonical name of the main SB class, for some reason.

      Do I need to change my Info.plist ? if yes how ? or do we have an issue in the packager, and/or the support of MacOS system menu bar by FX 8 ?

      The only place I provide the canonical name of the main class is when calling the packager: it is given to fx:application as value of mainClass

            pchelko Petr Pchelko (Inactive)
            yjoan Yves Joan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: