-
Bug
-
Resolution: Unresolved
-
P4
-
jfx11, 8
-
None
-
Ubuntu 22.04
-
linux
The InitialWindowSizeTest, which was added to test the fix for JDK-8299348, fails on Linux with the following assertion failure:
InitialWindowSizeTest > testInitialWindowSize() FAILED
org.opentest4j.AssertionFailedError: expected: <300.0> but was: <20.0>
at app//org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
at app//org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62)
at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:86)
at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:81)
at app//org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1010)
at app//test.com.sun.glass.ui.InitialWindowSizeTest.testInitialWindowSize(InitialWindowSizeTest.java:78)
The Window is in fact the correct size, but the values of Stage.getWidth() and Stage.getHeight() do not reflect the actual size.
This is a preexisting bug, and is only related toJDK-8299348 in that the test for that (Windows-specific) fix has exposed the bug on Linux.
InitialWindowSizeTest > testInitialWindowSize() FAILED
org.opentest4j.AssertionFailedError: expected: <300.0> but was: <20.0>
at app//org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
at app//org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62)
at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:86)
at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:81)
at app//org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1010)
at app//test.com.sun.glass.ui.InitialWindowSizeTest.testInitialWindowSize(InitialWindowSizeTest.java:78)
The Window is in fact the correct size, but the values of Stage.getWidth() and Stage.getHeight() do not reflect the actual size.
This is a preexisting bug, and is only related to
- relates to
-
JDK-8310846 Skip failing test InitialWindowSizeTest on Linux
- Resolved
-
JDK-8299348 Size-restricted window can be observed with incorrect dimensions
- Resolved