RFR: 8280988: [XWayland] Click on title to request focus test failures [v2]
Alexander Zvegintsev
azvegint at openjdk.org
Tue Apr 30 16:53:06 UTC 2024
On Tue, 30 Apr 2024 05:47:05 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
>> Alexander Zvegintsev has updated the pull request incrementally with one additional commit since the last revision:
>>
>> review comments
>
> test/jdk/java/awt/Focus/6981400/Test1.java line 186:
>
>> 184: Util.clickOnComp(compToClick, robot);
>> 185:
>> 186: if (Platform.isOnWayland()) {
>
> If the goal is just to move the window to the front then can we try "toFront + click on title" on X11 and just "toFront" on Wayland?
Do we really need an additional click on the title in this case?
Just `toFront` should be enough on all platforms.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18995#discussion_r1585196890
More information about the client-libs-dev
mailing list