-
Bug
-
Resolution: Fixed
-
P4
-
8
-
8.0b84
Run the code :
@Override
public void start(Stage stage) throws Exception {
Pagination p = new Pagination(10, 10);
p.focusedProperty().addListener(new ChangeListener<Boolean>(){
@Override
public void changed(ObservableValue<? extends Boolean> ov, Boolean t, Boolean t1) {
System.out.println(t1);
}
});
Scene scene = new Scene(new VBox(new Button("Button"), p), 200, 200);
stage.setScene(scene);
stage.show();
}
Click on buttons of pagination (1, 2, 3....). focus don't come on pagination.
Affected tests:
ControlsAutomatedTestSuite/javafx/scene/control/test/focus/FocusOwnerClickTest/test_Paginations
ControlsAutomatedTestSuite/javafx/scene/control/test/focus/FocusStyleClickTest/test_Paginations
ControlsAutomatedTestSuite/javafx/scene/control/test/focus/FocusUniquenessClickTest/test_Paginations
@Override
public void start(Stage stage) throws Exception {
Pagination p = new Pagination(10, 10);
p.focusedProperty().addListener(new ChangeListener<Boolean>(){
@Override
public void changed(ObservableValue<? extends Boolean> ov, Boolean t, Boolean t1) {
System.out.println(t1);
}
});
Scene scene = new Scene(new VBox(new Button("Button"), p), 200, 200);
stage.setScene(scene);
stage.show();
}
Click on buttons of pagination (1, 2, 3....). focus don't come on pagination.
Affected tests:
ControlsAutomatedTestSuite/javafx/scene/control/test/focus/FocusOwnerClickTest/test_Paginations
ControlsAutomatedTestSuite/javafx/scene/control/test/focus/FocusStyleClickTest/test_Paginations
ControlsAutomatedTestSuite/javafx/scene/control/test/focus/FocusUniquenessClickTest/test_Paginations
- relates to
-
JDK-8089293 [Pagination] Clicking on pagination does not transfer focus to the control; pagination focus not visible
- Resolved