The virtual buffer for the focus may have been explicitly set to None if there was no virtual buffer at the time of focus. Therefore, when handling a documentLoadComplete event, retrieving the virtualBuffer property is not enough to force a virtual buffer lookup. Instead, explicitly perform the lookup and set the virtualBuffer property.
--- trunk/source/IAccessibleHandler.py (original)
+++ trunk/source/IAccessibleHandler.py Thu Apr 17 00:02:05 2008
@@ -630,7 +630,8 @@
#Focus may be in this new virtualBuffer, so force focus to look up its virtualBuffer