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

Maximizing an Window with Screen-Size hides it

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2
    • 9
    • 8u77, 9
    • javafx

    Backports

      Description

        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();
            }

        Attachments

          Issue Links

            Activity

              People

                azvegint Alexander Zvegintsev
                tschindl Tom Schindl
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: