RFR: 8168388: GetMousePositionTest fails with the message "Mouse position should not be null"

Alexander Zuev kizune at openjdk.java.net
Wed Oct 20 07:12:31 UTC 2021


On Wed, 20 Oct 2021 07:04:18 GMT, Alexander Zuev <kizune at openjdk.org> wrote:

> 8168388: GetMousePositionTest fails with the message "Mouse position should not be null"

The main reason is that the second test frame is so small that if Window Manager decorations are tall enough mouse ended up on top of the frame border thus formally outside of the frame content. The main idea is to make frames undecorated so WM decorations do not interfere with the testing. Also did some general cleanup like moving frame manipulations to EDT, set the autodelay to a reasonable number and get rid of the statically provided coordinates for the last mouse position.

-------------

PR: https://git.openjdk.java.net/jdk/pull/6028



More information about the client-libs-dev mailing list