RFR: 8337400: [Linux] Initial window position is not centered on Ubuntu 24.04 / Xorg
Thiago Milczarek Sayao
tsayao at openjdk.org
Mon Aug 19 00:08:53 UTC 2024
On Fri, 16 Aug 2024 20:28:20 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:
> 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
It always failing for me, with this PR or without.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1520#issuecomment-2295445620
More information about the openjfx-dev
mailing list