Bug 508077 - ToolStripMenuItem: root menu does not receive "selected" state when clicked
Summary: ToolStripMenuItem: root menu does not receive "selected" state when clicked
Status: NEW
Alias: None
Product: UI Automation
Classification: Mono
Component: Winforms - General (show other bugs)
Version: Release 1.0
Hardware: x86 openSUSE 11.0
: P3 - Medium : Normal
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-29 07:41 UTC by Brian Merrell
Modified: 2009-07-02 03:21 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-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.