Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: 7u25
    • Fix Version/s: 9
    • Component/s: javafx

      Description

      I'm running on javafx.runtime.version=8.0.0-ea-b103

      With this simple application :

      @Override
          public void start(Stage primaryStage) throws Exception {
              BorderPane borderPane = new BorderPane();

              ToolBar toolbar = new ToolBar();

              Button button = new Button("Test");
              button.setId("mybutton");
              toolbar.getItems().add(button);

              //borderPane.setCenter(button);
              borderPane.setTop(toolbar);
              System.out.println("MyButton = " + borderPane.lookupAll("#mybutton"));

              Scene scene = new Scene(borderPane, 1024, 768);
              primaryStage.setScene(scene);
              primaryStage.show();
              System.out.println("MyButton = " + borderPane.lookupAll("#mybutton"));};
      }

      When the button is inside a toolbar, the first lookupAll return an empty set.
      The second lookup work.

      When the button is directly in the border pane, all lookup work.

        Attachments

          Activity

            People

            • Assignee:
              miflemi Mick Fleming (Inactive)
              Reporter:
              duke J. Duke (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: