RestoreSceneSizeTest fails in Ubuntu 24.04

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: jfx25
    • Component/s: javafx
    • None
    • generic
    • linux_ubuntu

      RestoreSceneSizeTest fails on Ubuntu 24.04 and same test doesn't fail in Ubuntu 22.04 with same FX code.

      RestoreSceneSizeTest > testUnfullscreenSize() FAILED
          org.opentest4j.AssertionFailedError: Scene got wrong height ==> expected: <255.0> but was: <218.0>
              at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
              at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
              at app//org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)
              at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:86)
              at app//org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1024)
              at app//test.javafx.scene.RestoreSceneSizeTest.testUnfullscreenSize(RestoreSceneSizeTest.java:123)

      Increasing sleep times in test has no effect and it looks like we have some product bug for Ubuntu24.04.
      This behaviour is seen in both Wayland and Xorg in Ubuntu 24.04.

            Assignee:
            Ambarish Rapte
            Reporter:
            Jayathirth D V
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: