RFR: 8342096: Popup menus that request focus are not shown on Linux with Wayland [v4]
Alexey Ivanov
aivanov at openjdk.org
Fri Jan 24 17:45:47 UTC 2025
On Wed, 22 Jan 2025 20:03:36 GMT, Harshitha Onkar <honkar at openjdk.org> wrote:
> > What if the window that loses focus is not the parent of the popup hierarchy? Or is it guaranteed that all the children of the popup window receive the focus lost event?
>
> Doesn't the updated FocusablePopupDismissTest.java & NestedFocusablePopupTest.java cover this case (Focusable item > sub item) or is the above case different?
@honkar-jdk Not sure about it… My question was about the clean-up of the focus listener.
@azvegint [answered my question](https://github.com/openjdk/jdk/pull/22729#discussion_r1929001676) now:
> _…all the popup menu will be dismissed, performing cleanups in their `hide()` and `setVisible()` methods._
-------------
PR Comment: https://git.openjdk.org/jdk/pull/22729#issuecomment-2613070788
More information about the client-libs-dev
mailing list