Bug 516202

Summary: ToolStrip: top-level menu accessibles erroneously receive "focused" state when opened with the keyboard
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: P5 - None 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-06-24 20:02:09 UTC
PROBLEM STATEMENT

An Alt+<Letter> keyboard shortcut is used to open a top-level drop-down menu.  For example, Alt+V can be used to open a top-level "View" menu.  When this is done, the corresponding menu drops down and the first menu item of that menu is highlighted (that is, it receives keyboard focus).  The problem is that the menu accessible erroneously receives the "focused" state.  This should not be the case, because the first menu item has the keyboard focus.

REPRO

1.  Run uia2atk/test/samples/toolstripmenuitem.py
2.  Run Accerciser, click on the "Interface Viewer" tab, and expand the "Accessible" expander.
3.  In Accerciser's left pane, browse to and select the "View" menu of the toolstripmenuitem.py ipy application.
4.  Press Alt+Tab to return to the toolstripmenuitem.py sample application
5.  Press Alt+V to open the "View" menu.  Notice that the first menu item of the "View" menu (i.e., "Create") becomes highlighted and receives keyboard focus.

RESULTS

Accerciser's interface viewer shows that the "View" menu has the "focused" state.

EXPECTED RESULTS

the "View" menu should not have the focused state.

COMMENTS

Expected results verified with Gtk.