The test was failing due to it tried to place windows too close to left top corner, so they got shifted from the dock and top panel on Gnome.
Shifting all test windows fixes the issue. Testing is green on all platforms. ------------- Commit messages: - initial Changes: https://git.openjdk.java.net/jdk/pull/8326/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8326&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8225777 Stats: 15 lines in 2 files changed: 5 ins; 1 del; 9 mod Patch: https://git.openjdk.java.net/jdk/pull/8326.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/8326/head:pull/8326 PR: https://git.openjdk.java.net/jdk/pull/8326