Bug 516129 - MainMenu: Menu items and submenus never receive "focused" and "selected" states
Summary: MainMenu: Menu items and submenus never receive "focused" and "selected" states
Status: NEW
Alias: None
Product: UI Automation
Classification: Mono
Component: Winforms - General (show other bugs)
Version: Release 1.0
Hardware: x86 openSUSE 11.1
: P5 - None : Major
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-24 16:45 UTC by Brian Merrell
Modified: 2009-07-01 15:55 UTC (History)
1 user (show)

See Also:
Found By: Integration Test
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.