-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
8u121
-
generic
-
generic
FULL PRODUCT VERSION :
A DESCRIPTION OF THE PROBLEM :
Java/FX web view hangs(freezes) when its containing stage is maximized and minimized and then restored it hangs.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Launch the application. Maximize the stage and iconify and then restore.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Can not perform any action web-view.
ACTUAL -
Web view freezing.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.layout.VBox;
import javafx.scene.web.WebEngine;
import javafx.scene.web.WebView;
import javafx.stage.Stage;
public class WebViewTest extends Application {
@Override public void start(Stage primaryStage) throws Exception {
primaryStage.setTitle("WebView Test");
WebView webView = new WebView();
WebEngine engine = webView.getEngine();
engine.load("http://google.com");
primaryStage.setScene(new Scene(new VBox(webView)));
primaryStage.show();
}
public static void main(String[] args) {
launch(args);
}
}
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
After hanging (freeze), resizing or restore down helps.
A DESCRIPTION OF THE PROBLEM :
Java/FX web view hangs(freezes) when its containing stage is maximized and minimized and then restored it hangs.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Launch the application. Maximize the stage and iconify and then restore.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Can not perform any action web-view.
ACTUAL -
Web view freezing.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.layout.VBox;
import javafx.scene.web.WebEngine;
import javafx.scene.web.WebView;
import javafx.stage.Stage;
public class WebViewTest extends Application {
@Override public void start(Stage primaryStage) throws Exception {
primaryStage.setTitle("WebView Test");
WebView webView = new WebView();
WebEngine engine = webView.getEngine();
engine.load("http://google.com");
primaryStage.setScene(new Scene(new VBox(webView)));
primaryStage.show();
}
public static void main(String[] args) {
launch(args);
}
}
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
After hanging (freeze), resizing or restore down helps.
- duplicates
-
JDK-8166999 Update to newer version of WebKit
-
- Resolved
-