VirtualBox

Opened 15 years ago

Closed 13 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

  1. Open VirtualBox.
  2. 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.
  3. Observe also that the focused state is set on all tabs. Expected: it should only be set on the currently focused tab.
  4. 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 James Teh, 13 years ago

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.

comment:2 by Christian Pötzsch, 13 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use