-
Bug
-
Resolution: Fixed
-
P2
-
8u77, 9
-
os_x
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8166620 | 8u152 | Alexander Zvegintsev | P2 | Closed | Fixed | b01 |
This is a critical bug because the user is unable to bring back the window!
@Override
public void start(Stage stage) {
Button button = new Button("Click to maximize");
button.setOnAction(e -> stage.setMaximized(true));
Rectangle2D bounds = Screen.getPrimary().getVisualBounds();
stage.setScene(new Scene(new StackPane(button), bounds.getWidth(),
bounds.getHeight()));
stage.show();
}
@Override
public void start(Stage stage) {
Button button = new Button("Click to maximize");
button.setOnAction(e -> stage.setMaximized(true));
Rectangle2D bounds = Screen.getPrimary().getVisualBounds();
stage.setScene(new Scene(new StackPane(button), bounds.getWidth(),
bounds.getHeight()));
stage.show();
}
- backported by
-
JDK-8166620 Maximizing an Window with Screen-Size hides it
- Closed
- relates to
-
JDK-8167565 [macosx] Maximization of a dialog hides it
- Resolved
-
JDK-8163137 [Mac] Maximizing a window with Cmd+Green button with Screen-Size hides it
- Resolved
-
JDK-8305675 [macos] Stage set to iconified before being shown is displayed on screen
- Resolved