Hello, I would like to discuss a change for fixing the issue described inside this PR: https://github.com/openjdk/jfx/pull/2203.
The problem in short terms is that when Your application is installed with like jpackage and registered to receive URI events on MacOS and You open it with an URI (like in the terminal with ‘open myapp://hello-world') it won’t receive the first URI if it is not already running. This is due to the fact that JavaFX is initialized first and forwards the event to AWT, but AWT is not yet initialized and therefore can’t handle the event correctly. The proposed fix would require JavaFX to initialize AWT first, before sending the event. This of course means some change in the behavior of JavaFX which might be unexpected and could potentially cause some issues. That’s why I wanted to discuss this change to make sure everything works as expected and that this approach is a feasible solution for the problem. There is also a CSR already created for this issue: https://bugs.openjdk.org/browse/JDK-8391252. Best Regards Paul
