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

Scene not rendered initially when changing scenes after fix for JDK-8296621

XMLWordPrintable

      This failure happens exclusively on Linux. Test relates to checking if setting a new scene has proper scaling on systems with DPI different than 100%. With DPI > 100% the UI components would move when setting a new scene, which should cause the test failure.

      Faulty test is SetSceneScalingTest.testSecondSetScene, failing assertion is:
      java.lang.AssertionError
      at org.junit.Assert.fail(Assert.java:87)
      at org.junit.Assert.assertTrue(Assert.java:42)
      at org.junit.Assert.assertTrue(Assert.java:53)
      at test.robot.javafx.stage.SetSceneScalingTest$TestSecondSetSceneApp.test(SetSceneScalingTest.java:156)
      at test.robot.javafx.stage.SetSceneScalingTest$TestApp.runTest(SetSceneScalingTest.java:93)
      at test.robot.javafx.stage.SetSceneScalingTest.testSecondSetScene(SetSceneScalingTest.java:203)
      ...

      It seems DPI setting does not matter for this one, and these tests pass on Windows and macOS, so it is most probably a testbug.

            tsayao Thiago Sayao
            lkostyra Lukasz Kostyra
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: