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

Thiago Milczarek Sayao tsayao at openjdk.java.net
Tue Jun 29 23:41:10 UTC 2021


On Tue, 29 Jun 2021 21:58:36 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:
> 
>   Reuse existing set_modal (which was previously unused).

![image](https://user-images.githubusercontent.com/30704286/123880825-d1129d80-d919-11eb-8e49-07f18da72dd1.png)

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

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


More information about the openjfx-dev mailing list