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

[Menus, Mac] Mac OS : Menu.disable property is ignored when menu items are first initialized in the menu.onMenuValidation method

XMLWordPrintable

      In the attached sample, I define a menu bar with sub menus:
      - menu3 -> menu31 -> <menu items>
      - menu3 -> menu32 -> <menu items>

      The menu31 items list is initialized at creation time.
      The menu32 items list is initialized in the menu31.onMenuValidation.

      At runtime, menu32 is erroneously disabled.

      This issue does not occur when not using system menu bar.

        1. TestMenus.java
          2 kB
          Sandra Lions-piron

            anthony Anthony Petrov (Inactive)
            slions Sandra Lions-piron
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: