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

Menu doesn't consume events properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 7u6
    • fx2.1
    • javafx
    • 2.1.0b20.

      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.

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

              Created:
              Updated:
              Resolved:
              Imported: