RFR: 8269429: Linux: Only the last APPLICATION_MODAL window behaves correctly [v3]

Thiago Milczarek Sayao tsayao at openjdk.java.net
Wed Aug 4 19:37:34 UTC 2021


On Sat, 10 Jul 2021 16:06:18 GMT, Thiago Milczarek Sayao <tsayao at openjdk.org> wrote:

>> The PR approach is to set  `gtk_window_set_keep_above` to true on APPLICATION_MODAL windows, so they will not stay behind non APPLICATION_MODAL windows.
>> 
>> This is passed on WindowStage.java:198 as a mask.
>> 
>> The weird thing is that `_enterModal()` is never called. This seems the right function to be called for `APPLICATION_MODAL`, as `_enterModalWithWindow` fits for `WINDOW_MODAL`.
>
> Thiago Milczarek Sayao has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Remove unneeded test for modal

This is also fixed by #581.

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

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


More information about the openjfx-dev mailing list