On Sat, 19 Nov 2022 18:01:41 GMT, Michael Strauß <mstra...@openjdk.org> wrote:
> This PR fixes a bug where multi-level focus is not correctly preserved. > The original implementation incorrectly assumed that there can only be a > single focused node in the scene graph, which is not the case when a branch > of the scene graph is presented by a `PopupWindow`. More specifically, when a > focused node was removed from the scene graph, the focus flags of all parents > were incorrectly cleared. The correct implementation only clears the > `focusWithin` flag of parents (but not `focused` or `focusVisible`), and > stops when another focused node is encountered along the way. Do you plan to add this fix to the version 19, of Java FX? ------------- PR Comment: https://git.openjdk.org/jfx/pull/956#issuecomment-1497514138