Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8353556

RestoreSceneSizeTest fails in Ubuntu 24.04

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • jfx25
    • 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.

            arapte Ambarish Rapte
            jdv Jayathirth D V
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: