<div dir="ltr">Hi,<div><br></div><div>This is just for information, in case someone complains about it.</div><div><br></div><div><div>Focus Stealing Prevention currently does affect JavaFX on Linux (on gnome). For example, sometimes an APPLICATION_MODAL error dialog will not get focus, instead, a notification is shown that "Error dialog is ready".</div><div><br></div><div>This is confusing for users, since the APPLICATION_MODAL will block other windows and at the same time will stay behind, since the focus was "prevented".</div><div><br></div><div>It's actually hard to simulate, but it does happen.</div><div><br></div><div>This post explains it with some detail:</div><div><a href="https://blogs.gnome.org/shell-dev/2024/09/20/understanding-gnome-shells-focus-stealing-prevention/">https://blogs.gnome.org/shell-dev/2024/09/20/understanding-gnome-shells-focus-stealing-prevention/</a><br></div><div><br></div><div>It might be the case that when the native modality functionality is used, it's taken into account for preventing focus.</div><div><br></div><div>JavaFX does have native modality implemented, but does not use it (must be a reason).</div><div><br></div><div>It's on com.sun.glass.ui.Window.enterModal();</div><div><br></div><div>-- Thiago.</div><div><br></div><div><br></div></div></div>