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

Mac: "Select All" within ListView/TreeView is handled differently depending on the useSystemMenuBar value

XMLWordPrintable

      Lets define a "Select All" menu item with CTL + A / CMD + A accelerators.
      When calling "Select All" while a ListView or a TreeView is focused, we get different behavior depending on the useSystemMenuBar value :
      - if we do use the system menu bar (Mac OS), the menu item onAction method is invoked
      - if we do not use the system menu bar (windows), the menu item onAction method is not invoked

      The behavior should be the same.

      Simple test case to reproduce.

        1. TestMenus.java
          3 kB
          Sandra Lions-piron

            mfox Martin Fox
            slions Sandra Lions-piron
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: