On Mon, 29 Apr 2024 10:44:37 GMT, Alexander Zvegintsev <azveg...@openjdk.org> wrote:
> Some tests try to get the focus of a window by clicking on its title bar. > > On XWayland, however, emulating mouse clicks with XTEST currently only > affects the XWayland server, not the window decorations, so trying to click > on the window title will have no effect. > > So the solution is to click inside the window or call `toFront()` to get the > window focused. > > Some tests have issues with AWT/Swing calls not being on EDT, it is not the > goal of this change to fix them as they require way too many code changes, > and make this PR hard to review. This pull request has now been integrated. Changeset: f6cdcc6f Author: Alexander Zvegintsev <azveg...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/f6cdcc6f65f2a436906541bb8266e69ded17e2e3 Stats: 259 lines in 5 files changed: 134 ins; 43 del; 82 mod 8280988: [XWayland] Click on title to request focus test failures Reviewed-by: honkar, serb ------------- PR: https://git.openjdk.org/jdk/pull/18995