On Mon, 13 Nov 2023 17:30:17 GMT, Alexander Zvegintsev <[email protected]> 
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).

This pull request has now been integrated.

Changeset: f3ed2758
Author:    Alexander Zvegintsev <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/f3ed27582e16c3a323f590863cbeec6d35e20b58
Stats:     128 lines in 2 files changed: 121 ins; 5 del; 2 mod

8319103: Popups that request focus are not shown on Linux with Wayland

Reviewed-by: serb, prr

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

PR: https://git.openjdk.org/jdk/pull/16636

Reply via email to