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

Thiago Milczarek Sayao tsayao at openjdk.java.net
Sat Jul 10 16:06:18 UTC 2021


> 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

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

Changes:
  - all: https://git.openjdk.java.net/jfx/pull/551/files
  - new: https://git.openjdk.java.net/jfx/pull/551/files/612a61ea..f7d2a9dd

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jfx&pr=551&range=02
 - incr: https://webrevs.openjdk.java.net/?repo=jfx&pr=551&range=01-02

  Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jfx/pull/551.diff
  Fetch: git fetch https://git.openjdk.java.net/jfx pull/551/head:pull/551

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


More information about the openjfx-dev mailing list