JDK-8123698 : Some websites are rendered poorly
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: 8
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2013-07-10
  • Updated: 2015-06-17
  • Resolved: 2013-09-27
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8Fixed
Related Reports
Relates :  
Relates :  
Description
Some websites are rendered poorly by WebView: not all elements are rendered, and when you move mouse over the website, elements below will flicker.

To reproduce, load xfinity.comcast.net (or any resource from affected tests list) and start moving mouse cursor over client area. Some parts of website will disappear, some will reappear or pop up.
Comments
Verified on 8.0b120 I think, it is done. New issues to be filed, if something new will be found
30-12-2013

Irina, please verify this bug when a new build is made available. I wasn't able to reproduce the problem myself but I'm closing to fixed as I believe it is the same root cause as RT-32749.
27-09-2013

patch. Irina, would you be able to apply this patch to rt, build javafx, and test it ?
17-09-2013

I can't reproduce the problem with the following testcase, can you ? public class RT31536 extends Application { static { System.setProperty("http.proxyHost", "www-proxy.us.oracle.com"); System.setProperty("http.proxyPort", "80"); } public static void main(String[] args) { Application.launch(args); } public void start(Stage stage) { WebView web = new WebView(); web.getEngine().load("http://xfinity.comcast.net"); // web.getEngine().load("http://foxnews.com"); // web.getEngine().load("http://flickr.com"); // web.getEngine().load("http://youtube.com"); Scene scene = new Scene(web); stage.setScene(scene); stage.show(); } }
17-09-2013

Probably the same as RT-32749
16-09-2013

Assign to Felipe to take a look. I think all of the NPEs in the native font code should be resolved now.
14-09-2013

This time looks like some glyph rendering problem.
21-08-2013

Note that some websites (e.g. bing.com) are affected only when software rendering is used.
21-08-2013

Affected tests: sites/foxnews.com sites/target.com sites/youtube.com
21-08-2013

The following exception is thrown when you move mouse over a rendered website which is affected: java.lang.NullPointerException at com.sun.javafx.font.directwrite.DWGlyph.checkBounds(DWGlyph.java:100) at com.sun.javafx.font.directwrite.DWGlyph.getWidth(DWGlyph.java:328) at com.sun.prism.impl.GlyphCache.getCachedGlyph(GlyphCache.java:278) at com.sun.prism.impl.GlyphCache.render(GlyphCache.java:153) at com.sun.prism.impl.ps.BaseShaderGraphics.drawString(BaseShaderGraphics.java:2121) at com.sun.javafx.webkit.prism.WCGraphicsPrismContext$10.doPaint(WCGraphicsPrismContext.java:780) at com.sun.javafx.webkit.prism.WCGraphicsPrismContext$Composite.paint(WCGraphicsPrismContext.java:1306) at com.sun.javafx.webkit.prism.WCGraphicsPrismContext$Composite.paint(WCGraphicsPrismContext.java:1291) at com.sun.javafx.webkit.prism.WCGraphicsPrismContext.drawString(WCGraphicsPrismContext.java:792) at com.sun.webkit.graphics.GraphicsDecoder.decode(GraphicsDecoder.java:281) at com.sun.webkit.graphics.WCRenderQueue.decode(WCRenderQueue.java:69) at com.sun.webkit.WebPage.paint2GC(WebPage.java:712) at com.sun.webkit.WebPage.paint(WebPage.java:680) at com.sun.javafx.sg.prism.NGWebView.renderContent(NGWebView.java:73) at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:1598) at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1517) at com.sun.javafx.tk.quantum.ViewPainter.doPaint(ViewPainter.java:303) at com.sun.javafx.tk.quantum.ViewPainter.paintImpl(ViewPainter.java:201) at com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:96) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at com.sun.javafx.tk.RenderJob.run(RenderJob.java:58) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:129) at java.lang.Thread.run(Thread.java:724) java.lang.IllegalStateException: Unbalanced saveState/restoreState at com.sun.javafx.webkit.prism.WCGraphicsPrismContext.dispose(WCGraphicsPrismContext.java:1574) at com.sun.javafx.webkit.prism.WCPageBackBufferImpl.disposeGraphics(WCPageBackBufferImpl.java:31) at com.sun.webkit.WebPage.paint(WebPage.java:682) at com.sun.javafx.sg.prism.NGWebView.renderContent(NGWebView.java:73) at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:1598) at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1517) at com.sun.javafx.tk.quantum.ViewPainter.doPaint(ViewPainter.java:303) at com.sun.javafx.tk.quantum.ViewPainter.paintImpl(ViewPainter.java:201) at com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:96) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at com.sun.javafx.tk.RenderJob.run(RenderJob.java:58) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:129) at java.lang.Thread.run(Thread.java:724)
21-08-2013

Seems like the issue was not fixed yet (as for Lombard b103), so I'm reopening it. If it is fixed already, please add a comment with target promoted build fix is going into,
21-08-2013

Apparently fixed with RT-32039.
09-08-2013

Affected tests: sites/yelp.com
22-07-2013

Affected tests: sites/salesforce.com
22-07-2013

Affected tests: sites/odnoklassniki.ru
22-07-2013

Affected tests: sites/bing.com
22-07-2013

Affected tests: sites/comcast.net sites/flickr.com sites/microsoft.com
10-07-2013

flickr.com is also affected, raising priority.
10-07-2013

Raising priority as website is unusable, and some other websites might experience the same problem as well.
10-07-2013