RFR: 8317771 [macos14] Expand/collapse a JTree using keyboard freezes the application in macOS 14 Sonoma

Alexander Zuev kizune at openjdk.org
Fri Jan 12 21:41:21 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.

Approving on a condition that a followup bug requesting a proper fix will be filed before the integration.

-------------

Marked as reviewed by kizune (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/17165#pullrequestreview-1819093656


More information about the client-libs-dev mailing list