RFR: 8317771 [macos14] Expand/collapse a JTree using keyboard freezes the application in macOS 14 Sonoma
Johannes Bechberger
jbechberger at openjdk.org
Thu Jan 18 14:14:26 UTC 2024
On Wed, 20 Dec 2023 09:28:47 GMT, Artem Semenov <asemenov at openjdk.org> wrote:
> NSAccessibility Outline is an accessibility representation of trees.
> This representation requires that the visible children be represented as a flat array.
> The child linearization algorithm available in ```CAccessibility.getChildrenAndRolesRecursive()``` is universal, i.e. suitable for any object with the role of a tree, but is not efficient, since it traverses the entire tree and selects suitable children.
> For JTree, this algorithm can be optimized by using TreePath, but the old algorithm will have to be retained to maintain versatility.
Fixed code is not present in JDK11, therefore no backport there.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17165#issuecomment-1898553850
More information about the client-libs-dev
mailing list