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

MenuBar: setFocusTraversable(true) breaks focus traversing

XMLWordPrintable

      This code reproduce issue (Press TAB several times)
      @Override
          public void start(Stage stage) throws Exception {
              VBox root = new VBox(15);
              MenuBar menuBar = MenuBarBuilder.create().menus(MenuBuilder.create().
                      items(new MenuItem("Item")).text("File").build()).build();
              menuBar.setFocusTraversable(true);
              root.getChildren().addAll(new Button("First"),
                       menuBar
                      , new Button("Second"));
              Scene scene = new Scene(root, 200, 200);
              stage.setScene(scene);
              stage.setTitle(VersionInfo.getRuntimeVersion());
              stage.show();
          }

            psomashe Parvathi Somashekar (Inactive)
            slugovoy Sergey Lugovoy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: