JavaFX 8: Blank scene after monitor out of standby

Viewed 771

I'm having a weird issue with JavaFX (jdk8, build 117): once the monitor resumes from standby the JavaFX stage/scene is blank.

I've tried minimizing/resizing the window but the contents are no longer displayed. I'm using a simple scene with a StackPane.

    root = new StackPane();
    root.setBackground(null);
    scene = new Scene(root, Color.BLACK);
    stage.setScene(scene);

    ProgressIndicator piLoader = new ProgressIndicator();
    piLoader.setMaxSize(32d, 32d);
    root.getChildren().add(piLoader);

    stage.show();

I've tried searching for a known bug or a previous report but could not find any.

1 Answers
Related