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

[XWayland]Mouse/Key events not identified on Alert windows on Ubuntu24.04

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • jfx25
    • javafx

      If we run WrongStageFocusWithApplicationModalityTest in Ubuntu24.04 on wayland. It fails intermittently 2/5 times. Whenever it fails i can see that mouse/keyevents are not identified and the Alert window never gets focused. As a result of which alert windows are not getting closed.

      Same test never fails on Ubuntu22.04 and issue is not seen with Xorg windowing system.

      WrongStageFocusWithApplicationModalityTest > testWindowFocusByClosingAlerts() FAILED
          org.opentest4j.AssertionFailedError: Timeout: Alerts not closed, wrong focus ==> expected: <true> but was: <false>
              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.AssertTrue.failNotTrue(AssertTrue.java:63)
              at app//org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
              at app//org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:214)
              at app//test.util.Util.waitForLatch(Util.java:331)
              at app//test.robot.javafx.stage.WrongStageFocusWithApplicationModalityTest.testWindowFocusByClosingAlerts(WrongStageFocusWithApplicationModalityTest.java:74)

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

              Created:
              Updated: