Maximizing an Window with Screen-Size hides it

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 9
    • Affects Version/s: 8u77, 9
    • Component/s: javafx

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

              Assignee:
              Alexander Zvegintsev
              Reporter:
              Tom Schindl
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: