Bug 506744

Summary: Drop-down CombBox menu items receive "focused" state, but do not have "focusable" state
Product: [Mono] UI Automation Reporter: Brian Merrell <bgmerrell>
Component: Winforms - GeneralAssignee: E-mail List <mono-a11y-bugs>
Status: NEW --- QA Contact: E-mail List <mono-a11y-qa>
Severity: Normal    
Priority: P4 - Low CC: cachen
Version: Release 1.0   
Target Milestone: ---   
Hardware: x86   
OS: openSUSE 11.1   
Whiteboard:
Found By: Integration Test Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Brian Merrell 2009-05-24 21:46:08 UTC
PROBLEM STATEMENT

A drop-down "combo box" accessible has a "menu" accessible child, which has
several "menu item" children.  When the combo box is dropped down and the
keyboard is used to navigate to a specific menu item, that menu item accessible
receives the "focused" state despite not having the "focusable" state.  I
assume that the problem is that the menu items should have the "focusable"
state, because the combo box menu items can be navigated to using the keyboard.

Menu item children of the MenuStrip control *do* have the focusable state as expected.

REPRODUCTION STEPS

1.  Run uia2atk/test/samples/combobox_dropdownlist.py
2.  Run Accerciser, open the "Interface Viewer" tab and expand the "Accessible"
expander.  (This will reveal the "States" list, which shows the current states
of the selected accessible.)
3.  In Accerciser's left pane, browse to and select the "3" menu item, which
is a descendant of the combo box accessible.
4.  Use Alt+Tab to return to the combobox_dropdownlist.py application (entitled "ComboBox control")
5.  Press Alt+Down to drop-down the combo box
6.  Press the down arrow 4 times until arriving at the "3" menu item
7.  Notice the states in Accerciser's interface viewer (while the combobox_dropdownlist.py application window is still active)

RESULTS

The menu item has the "focused" state, but has no "focusable" state

EXPECTED RESULTS

I would expect the menu item to have the "focusable" state

COMMENTS

Gtk+ has the same behavior we do.  I logged a GNOME bug here:  http://bugzilla.gnome.org/show_bug.cgi?id=583748
Comment 1 Feng Xia Mu 2009-07-03 10:20:36 UTC
*** Bug 519114 has been marked as a duplicate of this bug. ***