VoiceOver navigation and NSTableView
VoiceOver navigation and NSTableView
- Subject: VoiceOver navigation and NSTableView
- From: Henri Normak <email@hidden>
- Date: Thu, 30 Aug 2012 17:33:27 +0300
Hey!
I have an interesting situation, in my NSTableView I have a column,
which has dynamic content, i.e the content for each cell of that
column may change during the lifetime of the table and it may depend
on the current selection of the table. Now, this content affects the
description and help tags each particular cell returns when VO is
highlighting it
Everything seems to work fine, when I use arrow keys to navigate the
cells, i.e each cell reads out the correct description (the
description changes in willDisplayCell:), but if I were to use
VO+arrow keys or quicknav, then the descriptions, help tags and value
are not updated before VO reads them out (the values eventually get
updated, but VO does not wait for them to and reads out the old ones).
To me it seems as if when navigating NSTableView with arrow keys the
order of events is roughly this:
1) TableView changes selection (giving me the callbacks in both the
delegate and custom subclass)
2) VO does its' magic
Meanwhile, with VO+arrow keys or quicknav:
1) VO starts doing its' magic
2) TableView changes its' selection - updates the UI to highlight the
selection etc. This also includes tableView:shouldSelectRow: callback
Is there a way to delay VO in order to make sure NSTableView handles
the selection change beforehand? Or is there another approach that
would allow me to act to the change VO cursor is going to make BEFORE
the description and value are read out.
--
Henri Normak
+37253406707
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden