RFR: 8030121: java/awt/dnd/MissingDragExitEventTest/MissingDragExitEventTest.java fails
Manukumar V S
mvs at openjdk.java.net
Fri May 6 11:16:47 UTC 2022
On Wed, 4 May 2022 07:59:41 GMT, Manukumar V S <mvs at openjdk.org> wrote:
> Removing MissingDragExitEventTest.java from ProblemList as JDK-8274597 already fixed the test and it's working fine now.
>
> Testing:
> MissingDragExitEventTest.java test has been run 10 times on all 3 platforms and got all Pass.
>
Yes, that issue is resolved by setting the 'outer.translate(-20, 0)' instead of 'outer.translate(-40, 0)'. It will drag the contents(the text "1234567890") from inside and just go -20px from the frame(just enough to generate the DragExit event) and will again come back, but it will never drop the content anywhere. I have tested it manually in MacOS with a terminal window open behind and it never pasted anything there.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8529
More information about the client-libs-dev
mailing list