Opened 16 years ago
Closed 14 years ago
#3591 closed defect (fixed)
Tab control in main window does not report the focused tab via accessibility APIs
Reported by: | James Teh | Owned by: | |
---|---|---|---|
Component: | GUI | Version: | VirtualBox 2.1.4 |
Keywords: | accessibility | Cc: | |
Guest type: | other | Host type: | other |
Description
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.
Additional Information
IF this is a standard QT tab control widget, this is probably a bug in QT itself.
Change History (2)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
This issue has been fixed in VirtualBox 4.0, which seems to use a different widget for its tab control. The new widget is exposed as a toolbar containing checkboxes and the currently active checkbox (tab?) receives focus when moving to the control, as it should.