Opened 16 years ago
Closed 8 years ago
#3588 closed defect (obsolete)
WindowFromAccessibleObject() fails for VirtualBox IAccessible objects
Reported by: | James Teh | Owned by: | |
---|---|---|---|
Component: | GUI | Version: | VirtualBox 2.1.4 |
Keywords: | accessibility IAccessible | Cc: | |
Guest type: | other | Host type: | Windows |
Description (last modified by )
WindowFromAccessibleObject() is used to retrieve the window handle (hwnd) of an IAccessible (MSAA) object. When calling WindowFromAccessibleObject() on any IAccessible object exposed by VirtualBox, an RPC_E_CANTCALLOUT_ININPUTSYNCCALL error is returned. The text of this error is: "An outgoing call cannot be made since the application is dispatching an input-synchronous call."
WindowFromAccessibleObject() uses the GetWindow() method of the IOleWindow interface. I suspect it is this that is failing. Note that this works fine in other QT4 applications such as Nokia PC Suite and Rockbox Utility, so this appears to be a peculiarity of VirtualBox.
NVDA needs to retrieve the window handle for any IAccessible object, as there is no unique identifier for IAccessible and we need some way of reasonably checking for equality between two objects.
Change History (5)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
Summary: | !WindowFromAccessibleObject() fails for VirtualBox IAccessible objects → WindowFromAccessibleObject() fails for VirtualBox IAccessible objects |
---|
comment:3 by , 16 years ago
This issue causes NVDA's navigation to related objects (parents, children and sibblings) to fail. This results in many problems with VirtualBox and NVDA, such as ignored focus events for list/tree controls (see comment:ticket:3590:1), inability to read captions in dialogs and broken object navigation commands. We could try to make NVDA more tolerant when a window handle cannot be retrieved, but this causes comparison problems and means that information such as process ID and window class name cannot be retrieved, which is why we do not currently allow this.
comment:4 by , 14 years ago
This now seems to work for *some* accessible objects, but still not all. It works for lists, trees, toolbars, etc. However, it still fails for the outer UI (the application object, panes, etc.)
comment:5 by , 8 years ago
Description: | modified (diff) |
---|---|
Resolution: | → obsolete |
Status: | new → closed |
Please reopen if still relevant with a recent VirtualBox release.
Ack. The ! shouldn't be at the start of the summary - I forgot Trac doesn't do wiki formatting for ticket summaries. :(