RFR: 8337400: [Linux] Initial window position is not centered on Ubuntu 24.04 / Xorg

Thiago Milczarek Sayao tsayao at openjdk.org
Sun Aug 25 19:41:12 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.

This is probably a Mutter bug as it is reproducible on Mutter/Xorg with a Gtk C program and is not reproducible on i3.

Gtk is receiving a wrong configure event that causes this. It also causes the failing `SizeToSceneTest` and some other bugs such as fullscreen or maximized windows going back to floating.

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

PR Comment: https://git.openjdk.org/jfx/pull/1520#issuecomment-2308968387


More information about the openjfx-dev mailing list