On Wed, 20 Apr 2022 18:26:06 GMT, Jose Pereda <jper...@openjdk.org> wrote:
> This PR updates the screen for each window even for the case where the old > screen has been disposed but there is a new screen instance found for such > window. > > This is the case of Android, where the lifecycle of the application allows > destroying the native screen when the app goes to the background, and > providing a new native screen, in case it comes back to the foreground. > Before this PR, the screen for the window wasn't updated after returning from > the background, and if orientation changes happened, the dimensions were > wrong. Since this fix is in shared code, have you tested this using multiple screens on all platforms? Are there new tests that could be written for this? ------------- PR: https://git.openjdk.java.net/jfx/pull/778