On Wed, 20 Oct 2021 07:04:18 GMT, Alexander Zuev <kiz...@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

Reply via email to