JDK-8095319 : JavaFX webview issue with Hardware Acceleration ON
  • Type: Bug
  • Component: javafx
  • Sub-Component: web
  • Affected Version: 8u5
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2014-06-02
  • Updated: 2015-06-12
  • Resolved: 2014-06-02
Related Reports
Duplicate :  
Description
I have an issue with JavaFX WebView component. When I load e.g. this maps leaflet: 

http://leafletjs.com/examples/quick-start-example.html

Then I call action like lock computer by ctr + alt + del or change destkop resolution or screen rotation and go back from this action - the content of javaFX component disappears. There's no way to return content properly. I try it by oracle example:

http://docs.oracle.com/javafx/2/webview/jfxpub-webview.htm

During this problem, my console sometimes shows this:

Outstanding resource locks detected:
D3D Vram Pool: 48��401��566 used (18,0%), 48��401��566 managed (18,0%), 268��435��456 total
13 total resources being managed
average resource age is 25.0 frames
0 resources at maximum supported age (0,000000)
3 resources marked permanent (23,100000)
4 resources have had mismatched locks (30,800000)
4 resources locked (30,800000)
11 resources contain interesting data (84,600000)
0 resources disappeared (0,000000)


Workaround:
1. This problem occurs when I have a Hardware Acceleration turns ON (on my desktop PC), when i turned it OFF, the problem isn't occurs (screen resolution - > advanced settings -> Troubleshoot - > change settings). 
2. When i use java 7, this problem isn't occurs, but my leaflet maps isn't work properly in generally.


Comments
This is a duplicate of RT-25344 which in turn was fixed by RT-36571 in 8u20. I verified the failure in 8u5 with the web page supplied in this bug report, and verified that it is fixed in 8u20.
02-06-2014

This is a duplicate of a bug that is already fixed in 8u20 (I'll look up the bug ID momentarily). You can download EA builds of 8u20 here: https://jdk8.java.net/download.html
02-06-2014