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

Thiago Milczarek Sayao tsayao at openjdk.org
Mon Aug 19 20:03:53 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.

The problem is that on Ubuntu 24.04 with Xorg (aparrently does not affect XWayland - but not sure if it's true on all scenarios) there's an extra configure event that causes problems. For example, if the window is set to begin fullscreen it will go back to floating (because of this event) and the size test will fail.

It's something non-obvious that is causing this, problably.

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

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


More information about the openjfx-dev mailing list