JDK-8123602 : Build 91 - Starting task manager causes an interruption of canvas drawing
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: 8
  • Priority: P3
  • Status: Resolved
  • Resolution: Duplicate
  • Submitted: 2013-05-25
  • Updated: 2015-06-17
  • Resolved: 2013-10-04
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 :  
Description
Just launched simple app ( attached )

If I lauch task manager by Cntr+Alt+Delete, red circle dissappears.


It worked fine on previous builds.


PS.

Can't see "attach file", so that's it...
/////////////////////////////
public class Main extends Application {

    Canvas canvas;

    final int W = 1200;
    final int H = 800;

    double x = 0;

    @Override
    public void start(Stage primaryStage) throws Exception{


        VBox root = new VBox();

        canvas = new Canvas(W, H);
        root.getChildren().addAll(canvas);

        Timeline t = TimelineBuilder.create().keyFrames(new KeyFrame(Duration.ZERO), new KeyFrame(Duration.INDEFINITE)).build();

        t.currentTimeProperty().addListener(new ChangeListener<Duration>() {
            @Override
            public void changed(ObservableValue<? extends Duration> observableValue, Duration duration, Duration duration2) {

                GraphicsContext gc = canvas.getGraphicsContext2D();

                gc.setFill(Color.BLACK);

                gc.fillRect(0, 0, W, H);

                gc.setFill(Color.RED);

                gc.fillOval(x, 300, 100, 100);

                x += 1.0;
            }
        });

        t.playFromStart();

        primaryStage.setTitle("Hello World");
        primaryStage.setScene(new Scene(root, W, H));
        primaryStage.show();
    }


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

///////////////////////////
Comments
duplicate of https://javafx-jira.kenai.com/browse/RT-27558 go there for a test case.
04-10-2013

The plan is to fix it. A priority of Major seems in line with the priority of other bugs and its severity.
29-05-2013

So, what's the plan? Shouldn't it be raised to critical?
29-05-2013

This is probably the same issue as RT-27558. Note that we didn't see this for a while since we were using D3D 9Ex, but due to various issues (see RT-30352) we have gone back to straight D3D9 which means that all textures are lost when the surface is lost (as it is on Windows-L and CTRL-ALT-DEL or when the computer goes into screen saver or to sleep).
28-05-2013

Somebody responsible for Canvas should evaluate this. May be also an issue on glass side.
27-05-2013