On Wed, 18 Jun 2025 08:21:54 GMT, John Hendrikx <jhendr...@openjdk.org> wrote:
>> Adds code to trigger a scene update when a Window is restored >> >> This seems to solve https://bugs.openjdk.org/browse/JDK-8351867 and >> https://bugs.openjdk.org/browse/JDK-8146479 > > John Hendrikx has updated the pull request incrementally with two additional > commits since the last revision: > > - Also call entireSceneNeedsRepaint > - Add test case I have noticed the tests for maximized stages fail on my system: DrawAfterDeiconifyTest > maximizedStageRedrawsAfterDeiconify(StageStyle) > [1] DECORATED FAILED org.opentest4j.AssertionFailedError: expected:rgba(255,105,180,255) but was:rgba(0,255,0,255) at app//org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:38) at app//org.junit.jupiter.api.Assertions.fail(Assertions.java:138) at app//test.robot.testharness.VisualTestBase.assertColorEquals(VisualTestBase.java:168) at app//test.robot.javafx.stage.DrawAfterDeiconifyTest.lambda$redrawsAfterDeiconify$6(DrawAfterDeiconifyTest.java:110) DrawAfterDeiconifyTest > maximizedStageRedrawsAfterDeiconify(StageStyle) > [2] UNDECORATED FAILED org.opentest4j.AssertionFailedError: expected:rgba(255,105,180,255) but was:rgba(0,255,0,255) at app//org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:38) at app//org.junit.jupiter.api.Assertions.fail(Assertions.java:138) at app//test.robot.testharness.VisualTestBase.assertColorEquals(VisualTestBase.java:168) at app//test.robot.javafx.stage.DrawAfterDeiconifyTest.lambda$redrawsAfterDeiconify$6(DrawAfterDeiconifyTest.java:110) DrawAfterDeiconifyTest > maximizedStageRedrawsAfterDeiconify(StageStyle) > [3] TRANSPARENT FAILED org.opentest4j.AssertionFailedError: expected:rgba(255,105,180,255) but was:rgba(0,255,0,255) at app//org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:38) at app//org.junit.jupiter.api.Assertions.fail(Assertions.java:138) at app//test.robot.testharness.VisualTestBase.assertColorEquals(VisualTestBase.java:168) at app//test.robot.javafx.stage.DrawAfterDeiconifyTest.lambda$redrawsAfterDeiconify$6(DrawAfterDeiconifyTest.java:110) This is on Windows 11, the Stage in fact does not change its background. I'm not sure what the problem could be, or if it's fixable. ------------- PR Comment: https://git.openjdk.org/jfx/pull/1733#issuecomment-2984725453