build 1.8.0_77-b03
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 10.0.10586]
A DESCRIPTION OF THE PROBLEM :
When stage style is set to UNIFIED the content becomes blank
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Set stage style to UNIFIIED:
primaryStage.initStyle(StageStyle.UNIFIED)
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Should show a windows with text "Hello World" and dark background.
ACTUAL -
Content is blank.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import javafx.application.Application;
import javafx.geometry.Pos;
import javafx.scene.Scene;
import javafx.scene.control.Label;
import javafx.scene.layout.VBox;
import javafx.stage.Stage;
import javafx.stage.StageStyle;
public class Main extends Application {
@Override
public void start(Stage primaryStage) throws Exception {
primaryStage.setTitle("Hello World");
primaryStage.setWidth(300);
primaryStage.setHeight(100);
primaryStage.initStyle(StageStyle.UNIFIED);
final VBox vBox = new VBox();
vBox.setAlignment(Pos.CENTER);
vBox.setStyle("-fx-background-color: DarkGrey");
vBox.getChildren().add(new Label("Hello World"));
primaryStage.setScene(new Scene(vBox));
primaryStage.show();
}
public static void main(String[] args) {
launch(args);
}
}
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Not known.
- duplicates
-
JDK-8246240 Empty windows when using hardware rendering on certain systems
- Closed
-
JDK-8329382 Unified window does not render content on d3d with intel GPU
- Closed
-
JDK-8155919 Rendering Problem on StageStyle.UNIFIED probably with specific Graphic Cards
- Closed
-
JDK-8173183 Windows: Scene content is blank when using StageStyle.UNIFIED
- Closed
- relates to
-
JDK-8259515 Background color of Stage not correct with StageStyle.UNIFIED on Windows 10
- Open
-
JDK-8329382 Unified window does not render content on d3d with intel GPU
- Closed
-
JDK-8155919 Rendering Problem on StageStyle.UNIFIED probably with specific Graphic Cards
- Closed