VirtualBox

Ticket #3591 (closed defect: fixed)

Opened 5 years ago

Last modified 3 years ago

Tab control in main window does not report the focused tab via accessibility APIs

Reported by: jteh Owned by:
Priority: major 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

comment:1 Changed 3 years ago by jteh

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 Changed 3 years ago by poetzsch

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use