Error when activating Notepad about box #1853
Comment 5 by jteh on 2011-10-21 06:11
It seems that there is a !SysLink control where !AccessibleChildren reports a child with child ID -4, but querying info for child ID -4 just throws errors. Therefore, it gets a role of unknown, so getDialogText tries to descend. Unfortunately, the children property on the IAccessible NVDAObject only aborts if the child ID is greater than 0, as opposed to not equal to 0, so we end up fetching children for the same object, thus the infinite recursion.
Mick, should we just change the children property to check for != 0 instead of > 0? Do you think this will break anything? Alternatively, should we be treating simple children with negative child IDs as invalid at a lower level?