-
Bug
-
Resolution: Unresolved
-
P4
-
8, 9
-
Linux Ubuntu 14.04, NVIDIA Quadro 410
-
linux
Run the following test on Linux:
===========================================================================
import javafx.application.*;
import javafx.scene.*;
import javafx.scene.control.*;
import javafx.stage.*;
import javafx.scene.web.*;
public class Test extends Application
{
@Override
public void start(Stage primaryStage)
{
WebView wv = new WebView();
wv.getEngine().loadContent(createHtml());
primaryStage.setScene(new Scene(wv, 640, 480));
primaryStage.show();
}
private static String createHtml()
{
return "<html><body><p>1<input type=checkbox><input type=checkbox><input type=checkbox><br/>2<input type=checkbox><input type=checkbox><input type=checkbox><br/>3<input type=checkbox><input type=checkbox><input type=checkbox><br/>4<input type=checkbox><input type=checkbox><input type=checkbox><br/>5<input type=checkbox><input type=checkbox><input type=checkbox><br/>6<input type=checkbox><input type=checkbox><input type=checkbox><br/>7<input type=checkbox><input type=checkbox><input type=checkbox><br/>8<input type=checkbox><input type=checkbox><input type=checkbox><br/>9<input type=checkbox><input type=checkbox><input type=checkbox><br/>10<input type=checkbox><input type=checkbox><input type=checkbox><br/>";
}
}
==========================================================================
Sometimes, the controls don't appear when the stage is shown.
When I resize the stage or just hover mouse over the controls, they become visible.
===========================================================================
import javafx.application.*;
import javafx.scene.*;
import javafx.scene.control.*;
import javafx.stage.*;
import javafx.scene.web.*;
public class Test extends Application
{
@Override
public void start(Stage primaryStage)
{
WebView wv = new WebView();
wv.getEngine().loadContent(createHtml());
primaryStage.setScene(new Scene(wv, 640, 480));
primaryStage.show();
}
private static String createHtml()
{
return "<html><body><p>1<input type=checkbox><input type=checkbox><input type=checkbox><br/>2<input type=checkbox><input type=checkbox><input type=checkbox><br/>3<input type=checkbox><input type=checkbox><input type=checkbox><br/>4<input type=checkbox><input type=checkbox><input type=checkbox><br/>5<input type=checkbox><input type=checkbox><input type=checkbox><br/>6<input type=checkbox><input type=checkbox><input type=checkbox><br/>7<input type=checkbox><input type=checkbox><input type=checkbox><br/>8<input type=checkbox><input type=checkbox><input type=checkbox><br/>9<input type=checkbox><input type=checkbox><input type=checkbox><br/>10<input type=checkbox><input type=checkbox><input type=checkbox><br/>";
}
}
==========================================================================
Sometimes, the controls don't appear when the stage is shown.
When I resize the stage or just hover mouse over the controls, they become visible.
- duplicates
-
JDK-8088156 Input elements are not rendered when page is loaded on Linux.
-
- Closed
-