Bug 516129

Summary: MainMenu: Menu items and submenus never receive "focused" and "selected" states
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: Major    
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 16:45:49 UTC
PROBLEM STATEMENT

Menu items and submenus (i.e., any menu that is not the top-level menu) should receive "focused" and "selected" states when they are navigated to.  This currently works as expected with MenuStrip and ToolStripMenuItem controls.  However, it appears that MainMenu menu items and submenus never receive "focused" or "selected" states when they are navigated to.

REPRO

1.  Run uia2atk/test/samples/mainmenu.py
2.  Run Accerciser, open the interface viewer, and expand the "Accessible" expander.
3.  In Accerciser's left pane, browse to and select the "New" menu, which is the first child of the "File" menu.
4.  Press Alt+Tab to return to the MainMenu sample application
5.  Press Alt+F to drop down the "File" menu
6.  Press the down arrow key to navigate to the "New" menu
7.  Check the list of states in Accerciser's interface viewer

Additionally.. you can check the states of a menu item as follows:
8.  Press Alt+Tab to return to the Accerciser application
9.  In Accerciser's left pane, browse to and select the "Open" menu item, which is the second child of the "File" menu.
10. Press Alt+Tab to return to the MainMenu sample application
11. Press Alt+F to drop down the "File" menu
12. Press the down arrow key twice to navigate to the "Open" menu
13. Check the list of states in Accerciser's interface viewer

RESULTS

Neither the submenu nor the menu item accessibles receive the "focused" or "selected" states when they are navigated to.

EXPECTED RESULTS

the submenu and menu item accessibles should receive the "focused" and "selected" states when they are navigated to.

COMMENTS

Again, currently you can verify the correct behavior with the MenuStrip and ToolSTripMenuItem controls.