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

Victor Dyakov vdyakov at openjdk.org
Fri Jan 12 18:27:19 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.

@azuev-java @savoptik  will be good to intense a code review / making revisions a little bit since it is a serious P3 issue on macOS 14.X

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

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


More information about the client-libs-dev mailing list