OSDN Git Service

IAccessibleHandler.accFocus: Don't call accChild for CHILDID_SELF.
authorJames Teh <jamie@jantrid.net>
Fri, 5 Apr 2013 05:40:53 +0000 (15:40 +1000)
committerJames Teh <jamie@jantrid.net>
Fri, 5 Apr 2013 05:40:53 +0000 (15:40 +1000)
commit0f875ae94d3abb9884aa47e1f532ae057f4bcee4
tree422b39a28cd9e29648195ee01eade06a02bf9c39
parent5b20ad230207fce2023f2633dba4bdc52bca6bf4
IAccessibleHandler.accFocus: Don't call accChild for CHILDID_SELF.
Some implementations do return CHILDID_SELF and we end up in an endless loop when this happens because the objeccts appear different each time, even though we're actually getting different pointers to the same accessible.
This fix means that NVDA no longer freezes when using Asian character input in some .NET applications.
Fixes #3005.
source/IAccessibleHandler.py
user_docs/en/changes.t2t