Vertical scroll bar of a WebView produces graphical artifacts when "Go back" in the context menu is activated.
To reproduce, use the application below and comply the following steps:
1. Start application (it will load google.com by default).
2. Search for "pony".
3. Invoke context menu and press "Go back". You should see graphical artifacts left from the scroll bar to the right of WebView client area.
The application code:
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.web.WebEngine;
import javafx.scene.web.WebView;
import javafx.stage.Stage;
public class Main extends Application {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
System.setProperty("proxyHost", "emeacache.uk.oracle.com");
System.setProperty("proxyPort", "80");
Application.launch(Main.class, new String[0]);
}
@Override
public void start(Stage stage) throws Exception {
WebView wv = new WebView();
WebEngine e = wv.getEngine();
stage.setScene(new Scene(wv));
e.load("http://google.com");
stage.show();
}
}
The screenshots will be attached.
To reproduce, use the application below and comply the following steps:
1. Start application (it will load google.com by default).
2. Search for "pony".
3. Invoke context menu and press "Go back". You should see graphical artifacts left from the scroll bar to the right of WebView client area.
The application code:
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.web.WebEngine;
import javafx.scene.web.WebView;
import javafx.stage.Stage;
public class Main extends Application {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
System.setProperty("proxyHost", "emeacache.uk.oracle.com");
System.setProperty("proxyPort", "80");
Application.launch(Main.class, new String[0]);
}
@Override
public void start(Stage stage) throws Exception {
WebView wv = new WebView();
WebEngine e = wv.getEngine();
stage.setScene(new Scene(wv));
e.load("http://google.com");
stage.show();
}
}
The screenshots will be attached.
- blocks
-
JDK-8115527 WebView might draw hotizontal scroll bars in a wrong way
-
- Closed
-
- duplicates
-
JDK-8128877 WebView shows incorrectly image background on google.co.uk
-
- Closed
-
- relates to
-
JDK-8092208 ability to show a scrollbar without a thumb
-
- Open
-
-
JDK-8128314 Cannot drag scrollbar thumb to maximum position
-
- Closed
-