openjdk-jfx
openjdk-jfx copied to clipboard
Stage window gets black after restoring a maximized window OJFX 12.0.1 on Windows 7
I am sorry I don't have OpenJDK Author status or above to log an issue in the JDK bug system.
A similar bug was already resolved on JavaFX 8 https://bugs.openjdk.java.net/browse/JDK-8095048
Steps: run the application with OJFX 12.0.1 on OpenJDK 12.01 Windows 7 click on the maximize icon of the window to maximize window click on the minimize icon of the window or on the icon on the task bar to minimize the window click on the app icon on the task bar to restore the window the window is black inside
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.layout.BorderPane;
import javafx.stage.Stage;
public class MyApplication extends Application {
public static void main(String[] args) {
launch(args);
}
@Override
public void start(Stage stage) throws Exception {
BorderPane root = new BorderPane();
Scene scene = new Scene(root, 800, 400);
stage.setScene(scene);
stage.show();
}
}
I could reproduce this issue. with Latest Openjfx13 build and JDK 12
@arapte Does this happen with any app? It seems like it might be Windows 7 specific. Can you file a bug in JBS when you get a moment?