JDK-8116670 : Sometimes scene filled with solid color on Ubuntu with -Dquantum.multithreaded=true
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: 8
  • Priority: P3
  • Status: Resolved
  • Resolution: Cannot Reproduce
  • Submitted: 2012-08-09
  • Updated: 2015-06-17
  • Resolved: 2013-11-16
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 8
8Resolved
Related Reports
Blocks :  
Relates :  
Relates :  
Relates :  
Description
Sometimes after launch app or after new window creation I can see scene fully filled with solid color.
It happens rarely for me. You can see how it looks like at the left side of screenshot.
Controls still active and responding, issue disappears after resize, maximize.

I can't reproduce it with -Dquantum.multithreaded=false. 

Steps to reproduce:

1 Run app
2 If it is not filled with solid color re-run the app

Sample app:

import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.Group;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.stage.Stage;

public class SolidFill extends Application {

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

    @Override
    public void start(Stage s) throws Exception {
        createStage();
    }

    private void createStage() {
        Stage s = new Stage();
        Button b = new Button("123");
        b.setOnAction(new EventHandler<ActionEvent>() {

            @Override
            public void handle(ActionEvent event) {
                System.out.println("123 action");
                createStage();
            }
        });
        s.setScene(new Scene(new Group(b), 100, 100));
        s.show();
    }
}
Comments
I don't think this is reproducible any more, but I will verify.
06-11-2013

Thanks for confirming. I haven't seen this in our testing, but we'll try to reproduce it.
06-09-2012

Yes, I do.
06-09-2012

We believe that this should be fixed by the fixes for RT-24070 and RT-24231 (which, despite the summary, can affect more than just dirtyopts). Do you still see the bug?
06-09-2012

Thanks for confirming. We will investigate this as a separate issue then.
10-08-2012

It is still reproducible with -Dprism.dirtyopts=false.
09-08-2012

OK, thanks for the additional info. This might be a different problem then. While testing a fix for RT-24070, we saw a similar issue on Linux as well, and that one looks like it's related to dirtyopts. Can you try setting -Dprism.dirtyopts=false and see if the problem persists?
09-08-2012

Selection_003.png screenshot was made from my work laptop with es2 pipeline(didn't try j2d from work). From home I can reproduce this issue only with es2 pipeline. On j2d pipeline picture is different(see j2d_case.png) and looks similar to RT-24070.
09-08-2012

I think this is a duplicate of RT-24070 which I am looking at right now (I should have a fix shortly). Can you verify that you are running the j2d software pipeline?
09-08-2012