RFR: 8239589: JavaFX UI will not repaint after reconnecting via Remote Desktop

Oliver Schmidtmer github.com+10960818+schmidor at openjdk.java.net
Thu Oct 8 16:36:19 UTC 2020


On Thu, 8 Oct 2020 16:19:52 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

>> When connecting via Remote Desktop to a Windows 10 machine ans starting a JavaFX application, the D3D pipeline is used
>> successfully. After closing the the Remote Desktop session and reconnecting, the D3D requests fail with an
>> D3DERR_DEVICEREMOVED  HResult, and the application contents are not rendered anymore. Reinitializing the whole pipeline
>> fixes that.
>
> This will need a fair bit of testing. I'm not certain that we always want to recreate the factory when the device is
> lost, but we can evaluate that during the review.

The full recreation of the pipeline is only done when D3DERR_DEVICEREMOVED is occurring. On other causes of why the
device is not ready, only the factory reference in the painter is cleared.

-------------

PR: https://git.openjdk.java.net/jfx/pull/315


More information about the openjfx-dev mailing list