WebView is blinking ( flashing with black background ) while moving mouse over after unlocking desktop.
Step to reproduce :
- Create a simple Stage that contain only a WebView element.
- Launch the sample and move mouse over elements of the page --> Nothing bad happen
- Hit CTRL+ALT+DEL and ESCAPE
- Move mouse over WebView --> Black blincking occurs according to mouse movements.
It occurs only with JDK 1.8
Here is the sample code :
public class Main extends Application {
public static void main(String[] args) {
launch(Main.class, args);
}
@Override
public void start(Stage stage) throws Exception {
WebView wv = WebViewBuilder.create().build();
stage.setScene(new Scene(wv));
wv.getEngine().load("http://maps.google.com");
stage.show();
}
}