RFR: 8319066: Application window not activated in macOS 14 Sonoma when launched from command line
Kevin Rushforth
kcr at openjdk.org
Mon Oct 30 15:12:46 UTC 2023
On Mon, 30 Oct 2023 12:46:03 GMT, Jose Pereda <jpereda at openjdk.org> wrote:
> On macOS 14. when a JavaFX application is launched from the command line it is not activated, and the terminal application remains active.
>
> This PR forces the application activation on macOS 14, in case the app didn't get activated yet (when launched from a shortcut icon, for instance).
The fix causes all of our failing headful regression tests to pass, so that's good.
We should probably limit activating the window to the case where we are not in an embedded window (i.e., not in JFXPanel or FXCanvas), and where we are a taskbar application. In other words, limit it to the cases where we apply the reactivation workaround on earlier macOS versions.
-------------
PR Review: https://git.openjdk.org/jfx/pull/1273#pullrequestreview-1704404131
More information about the openjfx-dev
mailing list