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

Menu doesn't consume events properly

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: fx2.1
    • Fix Version/s: 7u6
    • Component/s: javafx
    • Environment:

      2.1.0b20.

      Description

      Found while looking at RT-19014 and RT-19578.

      Take toys/HelloWorld/HelloMenu.

      In line 192 add code (3 lines):

              ((VBox)scene.getRoot()).getChildren().add(menuBar);
              HBox hb = new HBox();
              hb.getChildren().addAll(new Button("Button"), new TextField("Some text"));
              ((VBox)scene.getRoot()).getChildren().addAll(hb);
              if (os != null && os.startsWith("Mac")) {

      To reproduce issue, click on button, press F10 and press right. After that press left/right: it does two things: navigating in menu and moving caret in textField.

        Attachments

          Activity

            People

            • Assignee:
              psomashe Parvathi Somashekar (Inactive)
              Reporter:
              akirov Alexander Kirov (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: