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

Artem Semenov asemenov at openjdk.org
Wed Jan 17 16:46:57 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.

This pull request has now been integrated.

Changeset: ffa33d7b
Author:    Artem Semenov <asemenov at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/ffa33d7b807bfef6ff05c9adba869dddf813cf68
Stats:     65 lines in 1 file changed: 64 ins; 1 del; 0 mod

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

Reviewed-by: kizune

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

PR: https://git.openjdk.org/jdk/pull/17165


More information about the client-libs-dev mailing list