On Tue, 8 Apr 2025 18:22:36 GMT, Harshitha Onkar <hon...@openjdk.org> wrote:
>> few more events tests are open sourced. > > test/jdk/java/awt/event/MouseEvent/DragMouseEventTest.java line 67: > >> 65: >> 66: public class DragMouseEventTest { >> 67: private static ExtendedRobot robot; > > This test fails for me on Windows 11 with the following stack trace: > > > java.lang.RuntimeException: 4096: Mouse drag or release was not received > mouseDraggedReceived false mouseReleasedReceived false > at DragMouseEventTest.testButtonDrag(DragMouseEventTest.java:260) > at DragMouseEventTest.testComponent(DragMouseEventTest.java:125) > at DragMouseEventTest.test(DragMouseEventTest.java:97) > at DragMouseEventTest.main(DragMouseEventTest.java:74) > at > java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) > at java.base/java.lang.reflect.Method.invoke(Method.java:565) > at > com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) It failed on my local since the screen's uiScale was set to 1.5 Good to run the test as `* @run main/othervm -Dsun.java2d.uiScale=1 DragMouseEventTest` ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/24516#discussion_r2034024110