RFR: 8329667: [macos] Issue with JTree related fix for JDK-8317771 [v3]
Alexander Zuev
kizune at openjdk.org
Thu May 23 08:11:07 UTC 2024
On Wed, 22 May 2024 11:17:26 GMT, Abhishek Kumar <abhiscxk at openjdk.org> wrote:
>> In multilevel trees when someone in the parent's path is collapsed the treeCollapsed event will be delivered to that node. We can either invalidate all leaf nodes caches (which is costly) or mark that exact node's cache as invalid and when the expand will happen when a11y cursor will try to position inside one of the childrens it will check that parent was invalidated and will regenerate its own cache.
>
> Ok.
> Is it possible to add a test to verify this behavior?
The test would be manual and it is hard to even describe what is the result of the test should look or sound like since we do not provide any string messages, VoiceOver does it and we can not tell ahead how it will be put. And for multilivel trees i am just running the SwingSet2 JTree demo and see that VoiceOver correctly handles full/partial collapse and expand - that after that there are no anomalies like VO output does not correspond to where cursor actually positioned.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/19255#discussion_r1611213313
More information about the client-libs-dev
mailing list