RFR: 8316423: [linux] Secondary Stage does not respect Scene's dimensions when shown
Thiago Milczarek Sayao
tsayao at openjdk.org
Thu Sep 28 00:37:57 UTC 2023
It looks like a condition between calls from `set_visible` to `request_focus`. When `request_focus` is called, the window is not yet mapped (map is requested on `set_visible`).
200x200 is the default gtk window size if none is specified. Since the window is presented at the requested size and then changes to 200x200 I would guess the size request on `gtk_window_present` (which is called on `request_focus`) is being queued and released later. But I'm not really sure.
-------------
Commit messages:
- FIX for JDK-8316423
- test
Changes: https://git.openjdk.org/jfx/pull/1249/files
Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1249&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8316423
Stats: 12 lines in 3 files changed: 10 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jfx/pull/1249.diff
Fetch: git fetch https://git.openjdk.org/jfx.git pull/1249/head:pull/1249
PR: https://git.openjdk.org/jfx/pull/1249
More information about the openjfx-dev
mailing list