Bug 503733

Summary: Selected state of a menu item persists if mouse is navigated away from menu
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.1   
Whiteboard:
Found By: Integration Test Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Brian Merrell 2009-05-14 04:10:28 UTC
PROBLEM STATEMENT

When the mouse is hovered over a menu item, it receives the "selected" state.  The problem is that, when the mouse navigates away from the menu, the last menu item over which the mouse moved retains the "selected" state.

REPRO

1.  Run Accerciser, click on the "Interface Viewer" tab, and expand the "Accessibles" expander
2.  Run uia2atk/test/samples/toolstripmenuitem.py
3.  In Accerciser, browse to and select the "New" menu item (under the "File" menu) of the toolstripmenuitem.py ipy application
4.  Click on the "File" menu to open it
5.  Move the mouse to hover over the "New" menu item and notice that it gains the "selected" state in the interface viewer
6.  Move the mouse out of the menu without moving the mouse over any other menu items in the "File" menu.  (If you do move the mouse over another menu item, it will receive the selected state instead)

RESULTS

Notice that the "New" menu item retains the "selected" state in the interface viewer.  (At this point, it appears that you can navigate other menus or do whatever you want to other controls and the "New" menu item will retain the selected state until another menu item in the "File" menu is navigated to and thus gains the "selected" state.)

EXPECTED RESULTS 

The "New" menu item should lose the "selected" state when the mouse navigates away from it
Comment 1 Brian Merrell 2009-05-14 04:17:48 UTC
This is similar to Bug 503735