RFR: 8284654: Modal behavior returns to wrong stage

Thiago Milczarek Sayao tsayao at openjdk.java.net
Fri May 6 19:21:02 UTC 2022


On Fri, 22 Apr 2022 19:26:36 GMT, Thiago Milczarek Sayao <tsayao at openjdk.org> wrote:

> When there's an APPLICATION_MODAL window, all other windows are disabled and re-enabled when the APPLICATION_MODAL window closes. This causes `requestToFront()` to be called on every window, and it does not guarantee order.
> 
> The fix also works for:
> https://bugs.openjdk.java.net/browse/JDK-8269429
> 
> But this one might need another fix:
> https://bugs.openjdk.java.net/browse/JDK-8240640

Step 5 falls on:

    mainEnv->CallVoidMethod(jwindow, jWindowNotifyFocusDisabled);


which is correct, so might be a bug on java code.

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

PR: https://git.openjdk.java.net/jfx/pull/784


More information about the openjfx-dev mailing list