Application freeze on dialog close [Mac]

Kevin Rushforth kevin.rushforth at oracle.com
Fri Jun 2 13:13:33 UTC 2023


I haven't seen anything exactly like this, but it might be related to a 
system setting or a terminal setting (if the app is launched from a 
terminal) on the affected systems. You might check is whether the 
"Secure Keyboard Entry" setting in the Terminal is enabled on the 
affected macOS systems. If it is, you should see a timeout warning 
message when starting the application as  reported in JDK [1]. It seems 
possible that this setting might also cause something like you describe. 
If that's not the problem, then it could be some other system setting.

-- Kevin

[1] https://bugs.openjdk.org/browse/JDK-8283590

On 5/26/2023 3:06 AM, Craig Raw wrote:
> I have multiple reports of application freeze (spinning beach ball) 
> when a Dialog opened with showAndWait() is closed. The application 
> does not recover and must be terminated with force quit. No error 
> logging is produced.
>
> This only occurs on a Mac, and is rare, but can be consistently 
> reproduced on affected machines. It occurs on both Intel and M1 
> chipsets. Preferring a software pipeline (prism.order=sw) does not 
> affect it. I am currently building with JavaFX 18 on JDK 18.
>
> I cannot find any related JavaFX bug report. My own Github issue is 
> here: https://github.com/sparrowwallet/sparrow/issues/586
>
> Any assistance with further diagnosing or solving this would be 
> appreciated.
>
> Craig



More information about the openjfx-dev mailing list