RFR: 8337400: [Linux] Initial window position is not centered on Ubuntu 24.04 / Xorg
Lukasz Kostyra
lkostyra at openjdk.org
Thu Aug 8 06:29:38 UTC 2024
On Mon, 29 Jul 2024 17:46:52 GMT, Thiago Milczarek Sayao <tsayao at openjdk.org> wrote:
> On Ubuntu 24.04 with Xorg windows are not shown centered.
>
> This is due a configure event being received with position 0,0 which is wrong.
>
> The fix ignores the configure events until the window is mapped.
LGTM, fixes the problem on Ubuntu 24.04. Noticed no regressions otherwise.
I did see some new test failures on 24.04, but these don't go away after this patch. Must be some different reason for them.
-------------
Marked as reviewed by lkostyra (Committer).
PR Review: https://git.openjdk.org/jfx/pull/1520#pullrequestreview-2226961754
More information about the openjfx-dev
mailing list