Bugzilla – Bug 510048
selected index of ComboBox erroneously has "focused" state
Last modified: 2010-08-31 13:35:04 UTC
PROBLEM STATEMENT The menu item accessible that represents the selected index, has the "focused state" even though the ComboBox doesn't even have keyboard focus (let alone the menu item). This should not be the case. FOCUSED 1. Run uia2atk/test/samples/fontdialog.py 2. Click the 'Click me' button of the "FontDialog control" 3. Run Accerciser, open the "Interface Viewer" tab, and expand the "Accessible" expander 4. In Accerciser's left pane, browse to and select the "Greek" menu item of the "Script" combo box (which is a direct descendant of the "Font" dialog) 5. In the "Font" dialog, select the "Greek" item of the "Script" combo box 6. Press tab or click another control to change the focus to a different control. You can even activate a different window on the desktop. 7. Check the list of states for the "Greek" menu item in Accerciser's interface viewer RESULTS The "Greek" menu item still has the "focused" state EXPECTED RESULTS The "Greek" menu item should not have the "focused" state because it do not have keyboard focus. COMMENTS Even the default selected index of ComboBox has the "focused" state (as reported by Bug 506694).