RFR: 8176813: Mac: Failure to exit full-screen programmatically in some cases

Martin Fox mfox at openjdk.org
Tue Apr 29 16:42:57 UTC 2025


On Mon, 28 Apr 2025 20:22:50 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

> * Do you think this will increase the possibility of deadlock?

This PR shifts the execution of runLater runnables out to the event loop in effect when setFullScreen() was called. This matches where Windows and Linux would process them. So if we encounter new deadlock conditions we should be seeing them on other platforms.

> * Will there be any problem one of the deferred Runnables causes an exitFullScreen (e.g., on a different Stage in a dual screen case)? This might be worth testing.

Could you provide more details on what you want tested? I'm not that familiar with how fullscreen works on dual screen setups.

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

PR Comment: https://git.openjdk.org/jfx/pull/1797#issuecomment-2839551107


More information about the openjfx-dev mailing list