Bugzilla – Bug 506694
Default selected index of ComboBox erroneously has "focused" state
Last modified: 2009-07-02 03:35:06 UTC
PROBLEM STATEMENT A problem exists when a ComboBox has an item that is selected by default when the application loads. The problem is that 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 menu items that represent the default selected items of both of the ComboBox controls. (The "combo box" accessibles can be found under the "Example" panel and the "Effects" panel). Check the states of each accessible in the interface viewer after selecting it. RESULTS The accessibles selected in REPRO step 4 have the "focused" state EXPECTED RESULTS The accessibles selected in REPRO step 4 should not have the "focused" state because they do not have keyboard focus. COMMENTS You can also test this with the combobox_stylechanges.py sample application by setting 'self.combobox.TabStop = 0', so that the combo box does not have keyboard focus when the application starts.
This is probably just a duplicate of Bug 510048.