RFR: 8315657: Application window not activated in macOS 14 Sonoma

Kevin Rushforth kcr at openjdk.org
Fri Sep 22 14:24:39 UTC 2023


On Fri, 22 Sep 2023 13:40:15 GMT, Florian Kirmaier <fkirmaier at openjdk.org> wrote:

> With this branch, I no longer get the following warning:
> 
> ```
> [error] Sep 22, 2023 3:12:18 PM com.sun.glass.ui.mac.MacApplication lambda$waitForReactivation$6
> [error] WARNING: Timeout while waiting for app reactivation
> ```

That's good news.

> And the mysterious (did anyone notice?) 5 Seconds freeze before showing the App is also gone!

The warning and the 5 second freeze are the same problem. [`MacApplication::waitForReactivation`](https://github.com/openjdk/jfx/blob/5b39c916ba36d9522b9e72dccd4dc8ae5792dae4/modules/javafx.graphics/src/main/java/com/sun/glass/ui/mac/MacApplication.java#L109-L114) waits for up to 5 seconds for the window to be activated. After 5 seconds, it logs the warning and proceeds anyway.

> So, I can confirm this fixes these important Sonoma bugs!

Thanks for confirming. I'll remove the debug prints and make this PR "rfr".

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

PR Comment: https://git.openjdk.org/jfx/pull/1247#issuecomment-1731479184


More information about the openjfx-dev mailing list