-
Bug
-
Resolution: Fixed
-
P4
-
8
-
jdk 1.8.0 - b62
To reproduce:
1. Right-click on the scroll bar at empty space between knob and arrow.
2. See that knob moves.
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.ScrollBar;
import javafx.scene.layout.HBox;
import javafx.stage.Stage;
public class BugScrollBar extends Application {
@Override
public void start(Stage stage) {
HBox root = new HBox(20d);
ScrollBar scrollBar = new ScrollBar();
root.getChildren().add(scrollBar);
Scene scene = new Scene(root, 300, 250);
stage.setScene(scene);
stage.setTitle(System.getProperty("java.runtime.version") + "; " + System.getProperty("javafx.runtime.version"));
stage.show();
}
public static void main(String[] args) {
launch(args);
}
}
1. Right-click on the scroll bar at empty space between knob and arrow.
2. See that knob moves.
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.ScrollBar;
import javafx.scene.layout.HBox;
import javafx.stage.Stage;
public class BugScrollBar extends Application {
@Override
public void start(Stage stage) {
HBox root = new HBox(20d);
ScrollBar scrollBar = new ScrollBar();
root.getChildren().add(scrollBar);
Scene scene = new Scene(root, 300, 250);
stage.setScene(scene);
stage.setTitle(System.getProperty("java.runtime.version") + "; " + System.getProperty("javafx.runtime.version"));
stage.show();
}
public static void main(String[] args) {
launch(args);
}
}
- duplicates
-
JDK-8118271 [ScrollPane] Right-click on the scroll bar moves the knob and opens a context menu.
-
- Closed
-
-
JDK-8120399 [ListView] Right-click on the scroll bar scrolles the content.
-
- Closed
-
-
JDK-8125303 [TreeView] Right click on the scroll bar scrolls the content.
-
- Closed
-
-
JDK-8125391 [TableView] Right click on the scroll bar scrolls the content.
-
- Closed
-