RFR: 8280988: [XWayland] Click on title to request focus test failures
Victor Dyakov
vdyakov at openjdk.org
Mon Apr 29 15:52:06 UTC 2024
On Mon, 29 Apr 2024 10:44:37 GMT, Alexander Zvegintsev <azvegint at 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 problems 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.
@honkar-jdk @prrace please review
-------------
PR Comment: https://git.openjdk.org/jdk/pull/18995#issuecomment-2083087917
More information about the client-libs-dev
mailing list