RFR: 8313956: focusWithin on parents of a newly-added focused node is not updated [v2]
Michael Strauß
mstrauss at openjdk.org
Thu Aug 17 00:30:45 UTC 2023
> 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
-------------
Changes:
- all: https://git.openjdk.org/jfx/pull/1210/files
- new: https://git.openjdk.org/jfx/pull/1210/files/d8d53631..fd85c902
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jfx&pr=1210&range=01
- incr: https://webrevs.openjdk.org/?repo=jfx&pr=1210&range=00-01
Stats: 13 lines in 1 file changed: 0 ins; 4 del; 9 mod
Patch: https://git.openjdk.org/jfx/pull/1210.diff
Fetch: git fetch https://git.openjdk.org/jfx.git pull/1210/head:pull/1210
PR: https://git.openjdk.org/jfx/pull/1210
More information about the openjfx-dev
mailing list