On Thu, 6 Aug 2026 18:57:51 GMT, Alexander Zuev <[email protected]> wrote:

>> - To preserve functionality the separate native peers for tables and lists 
>> are created;
>> - The list peer for now reports its role as a table for backward 
>> compatibility, that can be changed later;
>> - Fixed the long existed bug where table reported incorrectly currently 
>> selected rows;
>> - Added accessibilityFocusedUIElement to AccessibleBase;
>> - Added functionality for array attribute count and array attribute values 
>> retrieval to AccessibleBase;
>> 
>> ---------
>> - [x] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Alexander Zuev has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Fixing the performance on the large tables and lists. In order to do so:
>   - Always return the NSArray of the appropriate size, otherwice VO reports 
> the table size incorrectly;
>   - To avoid querying of the entire content of the control fill in only 
> visible rows +/- additional 10 to avoid incorrect reporting due to the VO 
> caching when navigating with VO controls beyond the visible range;
>   - To request the visible range from the control's skin a new a11y attribute 
> added - VISIBLE_ITEM_RANGE. Since outside of the MacOS it is not used that 
> will not create any problems on other platforms;

Another issue:

1. choose a large model (500,000 rows)
2. enable VoiceOver
3. select all (command-A)

locks up both `ListView` and `TableView`.  This is pre-existing, as it also 
locks up in master.

This is not a big issue for `ListView` since it is not intended for large 
models, but it may be a problem for the `TableView`.

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

PR Comment: https://git.openjdk.org/jfx/pull/2217#issuecomment-5259005066

Reply via email to