RFR: 8354631: [macos] OpenURIHandler events not received by AWT when JavaFX is primary toolkit [v2]

Kevin Rushforth kcr at openjdk.org
Thu May 15 23:46:56 UTC 2025


On Thu, 15 May 2025 21:11:55 GMT, Phil Race <prr at openjdk.org> wrote:

> Most of it wasn't really directed at you .. more at Kevin :-)

Those are good questions as to how we might need to evolve this if and when JavaFX adds desktop-like APIs. We might, indeed, want some sort of "forward these events to the other toolkit if and only if they aren't for you" on both ends.

> The main question I had for you was about did it ever really work and I guess you aren't sure.

Based on my testing of this, I very much doubt anything in macOS has changed in a way to affect this. I strongly suspect that it may have (accidentally) worked prior to JDK 22 / JavaFX 22 when we fixed the bug where AWT was taking over the NSApplicationDelegate even if it was embedded in JavaFX. See [JDK-8318854](https://bugs.openjdk.org/browse/JDK-8318854) and [JDK-8319669](https://bugs.openjdk.org/browse/JDK-8319669).

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

PR Comment: https://git.openjdk.org/jfx/pull/1755#issuecomment-2885286756


More information about the openjfx-dev mailing list