RFR: 8317771 [macos14] Expand/collapse a JTree using keyboard freezes the application in macOS 14 Sonoma
Artem Semenov
asemenov at openjdk.org
Wed Dec 20 09:34:04 UTC 2023
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.
-------------
Commit messages:
- 8317771 [macos14] Expand/collapse a JTree using keyboard freezes the application in macOS 14 Sonoma
Changes: https://git.openjdk.org/jdk/pull/17165/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17165&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8317771
Stats: 65 lines in 1 file changed: 64 ins; 1 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/17165.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/17165/head:pull/17165
PR: https://git.openjdk.org/jdk/pull/17165
More information about the client-libs-dev
mailing list