Bug 512103

Summary: ContextMenuStrip: when the ContextMenu have been destroied, "focused" state still remain on the menu item of the ContextMenu
Product: [Mono] UI Automation Reporter: Ray Wang <rawang>
Component: Winforms - ATKAssignee: 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: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: sample script

Description Ray Wang 2009-06-11 07:17:06 UTC
PROBLEM STATEMENT:
When you left click mouse or press "Return" to select a menu item, the context menu will be destroyed. but "focused" state is still remain on the menu item.

REPRODUCE:
1. Run uia2atk/test/sample/contextmenustrip.py
2. Run the script which I attached
3. See output

RESULTS:
There is a "focused" on menu item. 
[STATE_DEFUNCT, STATE_FOCUSED]

EXPECTED RESULTS:
There may be only one state. STATE_DEFUNCT ?
Comment 1 Ray Wang 2009-06-11 07:18:38 UTC
Created attachment 297390 [details]
sample script