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

    Details

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported: