UIA handler code

francisco del roio
 

Hello,

I was looking the code for UIA property changed event handler and I
found this chunk:

source/_UIAHandler.py, line 345
import NVDAObjects.UIA
if (
isinstance(focus, NVDAObjects.UIA.UIA)
and self.clientObject.compareElements(focus.UIAElement, sender)
):
pass
Why this pass instruction? What's the problem with property changes in
focused objects?

I'm looking into this because I found that value changed events aren't
fired for objects with unknown role, not sure if this applies to a
particular object or to NVDA.

The object in question is the signature help popup in Visual Studio.

Thanks,
--
Cuando tus fuerzas terminan, las de mi Dios comienzan.

Join nvda-devel@groups.io to automatically receive all group messages.