RFR: 8285217: [Android] Window's screen is not updated after native screen was disposed [v3]

Kevin Rushforth kcr at openjdk.java.net
Fri May 6 21:46:47 UTC 2022


On Wed, 4 May 2022 16:55:30 GMT, Jose Pereda <jpereda at 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.
>
> Jose Pereda has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Scale screen dimensions

I like this approach better. Since it just touches Monocle, and most changes are in the android port, perhaps @johanvos can review it?

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

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


More information about the openjfx-dev mailing list