JDK-8168855 : Client area is not updated at application startup
  • Type: Bug
  • Component: javafx
  • Sub-Component: window-toolkit
  • Affected Version: 9
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • Submitted: 2016-10-27
  • Updated: 2016-12-21
  • Resolved: 2016-12-20
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9Resolved
Related Reports
Duplicate :  
Description
For any simplest application the client area is not updated at application startup (until resize).



Sample to check:

import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.layout.VBox;
import javafx.stage.Stage;

public class App extends Application {

     public static void main(String[] args) {
        launch(args);
    }

    @Override
    public void start(Stage stage) throws Exception {
        Button control = new Button("Button");
        Scene scene = new Scene(new VBox(control), 100, 100);
        stage.setScene(scene);
        stage.show();
    }
}
Comments
duplicate of JDK-8163496
20-12-2016

I cannot reproduce the side issue that Semyon seeing. will close as a duplicate of JDK-8163496
20-12-2016

It is GTK3 related. It seems it is fixed by JDK-8163496. But one intresting effect exists even after JDK-8163496: the picture shown in the attached image appears for a half of second. It contains a copy of the screen area from position (0,0) to size of the window. So, the bug can be either closed or converted to minor issue.
13-12-2016

I've not seen this before. It might be specific to GTK3 running on a virtual machine. Assign to Dave to take a look.
27-10-2016