On Mon, 29 Jul 2024 17:46:52 GMT, Thiago Milczarek Sayao <tsa...@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 causes a regression on Ubuntu 22.04. The following tests fail with this fix (they all pass with current master), when using X.org or Wayland: SizeToSceneTest > testInitialSizeOnFullscreenThenSizeToScene() FAILED org.opentest4j.AssertionFailedError: 360.0 >= 1870.0 ==> expected: <true> but was: <false> SizeToSceneTest > testInitialSizeOnMaximizedThenSizeToScene() FAILED org.opentest4j.AssertionFailedError: 360.0 >= 1870.0 ==> expected: <true> but was: <false> SizeToSceneTest > testInitialSizeOnSizeToSceneThenMaximized() FAILED org.opentest4j.AssertionFailedError: 360.0 >= 1870.0 ==> expected: <true> but was: <false> On Ubuntu 24.04 there are also some new failures in `SizeToSceneTest ` with this PR, but several of the test fail anyway on 24.04 ------------- PR Review: https://git.openjdk.org/jfx/pull/1520#pullrequestreview-2243499088