Bugzilla – Bug 516129
MainMenu: Menu items and submenus never receive "focused" and "selected" states
Last modified: 2009-07-01 15:55:51 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.