You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reported by jteh on 2008-05-02 21:59
The initial say all when a virtual buffer is loaded is no longer being triggered.
Reproduceable: almost always
Steps to Reproduce
Go to a site which does not set focus such as http://www.nvaccess.org/. Alternatively, open an email in Thunderbird.
Actual Results
Say all is not triggered.
Expected Results
The say all should be triggered once the document is loaded/receives focus.
Additional Information
This is a regression from r2008. The reason is that we now set globalVars.focusObject after calling virtualBufferHandler.update(). This means the buffer gets loaded before globalVars.focusObject is set. Unfortunately, the code that triggers a say all first checks to see if the focus object is in the virtual buffer, and because focus has not yet been updated, this is almost always false. I am not sure how to solve this without reintroducing the problem before r2008.
The text was updated successfully, but these errors were encountered:
Comment 1 by mdcurran on 2008-05-03 01:25
Fixed in svn r2009. The main idea is to move the code for that speak document name / sayAll in to a place where we know its aloud to be used, rather than it having to check whether its aloud to. I.e. api.setFocusObject, and IAccessiblehandler's documentLoadEvent code are the safest places where we know its appropriate to do a sayAll.
Changes:
State: closed
Reported by jteh on 2008-05-02 21:59
The initial say all when a virtual buffer is loaded is no longer being triggered.
Reproduceable: almost always
Steps to Reproduce
Go to a site which does not set focus such as http://www.nvaccess.org/. Alternatively, open an email in Thunderbird.
Actual Results
Say all is not triggered.
Expected Results
The say all should be triggered once the document is loaded/receives focus.
Additional Information
This is a regression from r2008. The reason is that we now set globalVars.focusObject after calling virtualBufferHandler.update(). This means the buffer gets loaded before globalVars.focusObject is set. Unfortunately, the code that triggers a say all first checks to see if the focus object is in the virtual buffer, and because focus has not yet been updated, this is almost always false. I am not sure how to solve this without reintroducing the problem before r2008.
The text was updated successfully, but these errors were encountered: