Ticket #3591 (closed defect: fixed)
Tab control in main window does not report the focused tab via accessibility APIs
|Reported by:||jteh||Owned by:|
The tab control in the main window (consisting of Details, Snapshots and Description tabs) does not fire accessible focus events on the currently focused tab when it is changed. Also, the focused state is set on all tabs simultaneously (instead of just the currently focused tab) and the selected state is set on a tab which is not actually the focused tab.
Steps to Reproduce
- Open VirtualBox.
- Move focus to the tab control (perhaps using the tab key). Observe that a focus event is fired for the tab control itself (IAccessible child ID of 0), but not for the currently focused tab as expected.
- Observe also that the focused state is set on all tabs. Expected: it should only be set on the currently focused tab.
- Use the left and right arrows to move between tabs. Observe that the focused tab changes, but no focus event is fired and the selected state is set on the incorrect tab. Expected: a focus event should be fired and the selected state should be set on the focused tab.
IF this is a standard QT tab control widget, this is probably a bug in QT itself.