RFR: 8313956: focusWithin on parents of a newly-added focused node is not updated [v2]
Michael Strauß
mstrauss at openjdk.org
Fri Aug 18 02:01:32 UTC 2023
On Thu, 17 Aug 2023 00:30:45 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:
>> This PR fixes an issue with the way `focusWithin` bits are adjusted in the scene graph. Previously, the `focusWithin` counts of all parents of a removed node would be decreased if the removed node has a non-zero `focusWithin` count. This PR adds logic for the opposite scenario: the `focusWithin` count is increased on all parents of a newly-added node that is already focused (or contains other focused nodes).
>
> Michael Strauß has updated the pull request incrementally with one additional commit since the last revision:
>
> Removed unnecessary code
@Maran23 maybe you could take a look, too.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1210#issuecomment-1683222661
More information about the openjfx-dev
mailing list