RFR: 8319103: Popups that request focus are not shown on Linux with Wayland [v2]

Sergey Bylokhov serb at openjdk.org
Mon Nov 13 21:38:30 UTC 2023


On Mon, 13 Nov 2023 20:05:50 GMT, Alexander Zvegintsev <azvegint at openjdk.org> wrote:

>> This is the fix for the regression introduced in [JDK-8280993](https://bugs.openjdk.org/browse/JDK-8280993).
>> 
>> That fix was to dismiss a popup if the owner loses the window focus when running in Wayland, and didn't take into account that the popup itself can be focusable.
>> 
>> This fix closes the popup only if the focus moves away from the calling window and the popup itself.
>> 
>> There is no jtreg test provided because it requires transferring the window focus to a non-X11 window, and our current robot implementation [does not allow this](https://bugs.openjdk.org/browse/JDK-8280983).
>
> Alexander Zvegintsev has updated the pull request incrementally with one additional commit since the last revision:
> 
>   manual test added

Marked as reviewed by serb (Reviewer).

-------------

PR Review: https://git.openjdk.org/jdk/pull/16636#pullrequestreview-1728326003


More information about the client-libs-dev mailing list