openjdk-jfx icon indicating copy to clipboard operation
openjdk-jfx copied to clipboard

Stage window gets black after restoring a maximized window OJFX 12.0.1 on Windows 7

Open appsofteng opened this issue 5 years ago • 2 comments

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

appsofteng avatar Jun 29 '19 21:06 appsofteng

I could reproduce this issue. with Latest Openjfx13 build and JDK 12

arapte avatar Jul 01 '19 09:07 arapte

@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?

kevinrushforth avatar Jul 19 '19 21:07 kevinrushforth