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

(ctl + a) menu item onAction not invoked when ListView or TreeView is focused

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Not an Issue
    • Affects Version/s: 7u6
    • Fix Version/s: None
    • Component/s: javafx
    • Labels:

      Description

      Use simple test case attached.
      It defines a menu bar with menu item "Select All" and ctl + A accelerator,
      and a simple scene graph containing a button, a ListView and a TreeView.
      When the button is focused, typing (ctl + a) makes the onAction method invoked.
      When the ListView or TreeView is focused, the onAction is no more invoked.

      Note that we get the issue only when we do not use the system menu bar.
      When using the system menu bar (mac os), the onAction method is invoked whatever node is focused as expected.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                miflemi Mick Fleming (Inactive)
                Reporter:
                slions Sandra Lions-piron
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: