Reported by aleksey_s on 2009-11-02 09:09
My friend reported to me that NVDA reads the random characters after a link name in ie6 addons settings dialog. Further debugging shown that accName of those link objects contain a trash text after the null characters at end of the string.
for example:
nav.IAccessibleObject.accName(0)
u'\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043e \u043d\u0430\u0434\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 ...\x00\x00\x00\u0432\u0430\x00\u0435\x00'
from msdn:
A BSTR is a composite data type that
consists of a length prefix, a data string, and a terminator.
I suspect that msaa returns incorrect string length. Seems as we need to filter out somehow the strings received from msaa.
Reported by aleksey_s on 2009-11-02 09:09
My friend reported to me that NVDA reads the random characters after a link name in ie6 addons settings dialog. Further debugging shown that accName of those link objects contain a trash text after the null characters at end of the string.
for example:
u'\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043e \u043d\u0430\u0434\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 ...\x00\x00\x00\u0432\u0430\x00\u0435\x00'
from msdn:
A BSTR is a composite data type that
consists of a length prefix, a data string, and a terminator.
I suspect that msaa returns incorrect string length. Seems as we need to filter out somehow the strings received from msaa.