For some URL's, printing the WebView node causes a crash on Linux/Mac (using prism-es2). The crash occurs when invoking
`glActiveTexture(GL_TEXTURE0)` by the print thread.
It seems both the Quantum Renderer and the printer thread are manipulating the OpenGL State
The attached program causes a crash on Mac/Linux, using Java 15 and JavaFX 15. The print job is invoked on the JavaFX Application Thread, but outside of animations -- otherwise J2DPrinterJob.print would complain since Toolkit.getToolkit().canStartNestedEventLoop() would return false.
Note that when changing the URL from "https://gluonhq.com" to "http://lodgon.com", there is no problem. Hence, it seems to depend on what the WebView actually needs to render.
Also, since the crash is in prism-es2, the attached program works fine when supplying `-Dprism.verbose=sw`
`glActiveTexture(GL_TEXTURE0)` by the print thread.
It seems both the Quantum Renderer and the printer thread are manipulating the OpenGL State
The attached program causes a crash on Mac/Linux, using Java 15 and JavaFX 15. The print job is invoked on the JavaFX Application Thread, but outside of animations -- otherwise J2DPrinterJob.print would complain since Toolkit.getToolkit().canStartNestedEventLoop() would return false.
Note that when changing the URL from "https://gluonhq.com" to "http://lodgon.com", there is no problem. Hence, it seems to depend on what the WebView actually needs to render.
Also, since the crash is in prism-es2, the attached program works fine when supplying `-Dprism.verbose=sw`