Bug: SceneAntialiasing.BALANCED flips the scene on Mac

José Pereda jose.pereda at gluonhq.com
Sat Sep 12 10:34:05 UTC 2015


Hi all

Based on this question at StackOverflow:

http://stackoverflow.com/questions/32525086/javafx-rendering-issue-on-osx-after-java-upgrade

Running the test from the original question on my MacBook Pro Retina, OS X
Yosemite, with JDK 8u60 and the default prism es2, the scene was flipped
vertically, but the mouse events were at the expected top position.

I was able to narrow down the issue with this simple test case:

public void start(Stage primaryStage) {
    Scene scene = new Scene(new StackPane(new
Label("Antialising\nBalanced")),
            300, 300, true, SceneAntialiasing.BALANCED);
    primaryStage.setScene(scene);
    primaryStage.show();
}

Changing BALANCED to DISABLED solved the issue.

I haven't found any report of this at http://bugs.openjdk.java.net.

Thanks,
Jose


More information about the openjfx-dev mailing list