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

PageFillTest fails on Ubuntu 24.04

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • jfx25
    • javafx
    • None
    • web
    • linux_ubuntu

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

      PageFillTest > testPageFillRendering() FAILED
          org.opentest4j.AssertionFailedError: Color 5 should not be: not expected:rgba(0,255,0,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.javafx.scene.web.PageFillTest.assertColorNotEquals(PageFillTest.java:91)
              at app//test.javafx.scene.web.PageFillTest.lambda$testPageFillRendering$4(PageFillTest.java:172)

      Test fails during first check only before scrolling. It expects non-green color at (10, 50) position but finds green color only. Tried changing y coordinate little bit to see if it can pick non-green color, but it doesn't. Running test using JDK 24 also has no effect(We have some linux specific change in JDK24 which fixes color picker issues).
      This behaviour is seen in both Wayland and Xorg in Ubuntu 24.04.

            jbhaskar Jay Bhaskar
            jdv Jayathirth D V
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: