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

Artem Semenov asemenov at openjdk.org
Wed Jan 17 08:55:52 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.

I created a bug [JDK-8323965](https://bugs.openjdk.org/browse/JDK-8323965)
@azuev-java Please check and if everything is good, I will integrate the current solution.

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

PR Comment: https://git.openjdk.org/jdk/pull/17165#issuecomment-1895357988


More information about the client-libs-dev mailing list