Bug 508077

Summary: ToolStripMenuItem: root menu does not receive "selected" state when clicked
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: P3 - Medium CC: cachen
Version: Release 1.0   
Target Milestone: ---   
Hardware: x86   
OS: openSUSE 11.0   
Whiteboard:
Found By: Integration Test Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Brian Merrell 2009-05-29 07:41:08 UTC
PROBLEM STATEMENT

A ToolStripMenuItem can be represented as a "menu" or a "menu item" accessible
(depending on whether it has children or not).  I would expected a ToolStripMenuItem root menu should gain the "selected" state when it is clicked, but it does not.  The root menu for a MenuStrip does gain the "selected" state, however.  A root menu of a Gtk+ MenuBar also does gain the "selected" state when clicked.

REPRO

1.  Run Accerciser, click on the "Interface Viewer" tab, and expand the "Accessible" expander.
2.  Run uia2atk/test/samples/toolstripmenuitem.py sample
3.  In Accerciser's left pane, browse to and select the "View" menu accessible.
4.  Left-click on the "View" menu (alternatively you could perform the 'click' action using the action interface of the accessible).

RESULTS

The "selected" state is not added to the "View" menu accessible.

EXECTED RESULTS

The "selected" state should be added.