Bug 520089

Summary: ContextMenu, ContextMenuStrip won't accessible if use 'Show' property
Product: [Mono] UI Automation Reporter: calen chen <cachen>
Component: Winforms - GeneralAssignee: E-mail List <mono-a11y-bugs>
Status: NEW --- QA Contact: E-mail List <mono-a11y-qa>
Severity: Normal    
Priority: P3 - Medium    
Version: Release 1.0   
Target Milestone: ---   
Hardware: x86   
OS: openSUSE 11.1   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: sample for ContextMenu
sample for ContextMenuStrip

Description calen chen 2009-07-08 08:03:12 UTC
PROBLEM STATEMENT:

if use ContextMenu.Show() or ContextMenuStrip.Show() in application that the contextmenu and contextmenustrip will not accessible for ATs

REPRO:

ContextMenu
-------------------
1. run the attachment example that is for ContextMenu, click the form on GUI will show menu
2. run accerciser, expand ipy on left treeview
3. mouse left click ContextMenu form on GUI, there is menu appear
4. back to accerciser, see if the contextmenu is showing on left treeview under ipy


ContextMenuStrip
--------------------
5. run the attachment example that is for ContextMenuStrip,  click the form on GUI will show menu
6. mouse left click ContextMenuStrip form on GUI, there is menu appear
7. back to accerciser, see if the contextmenustrip is showing on left treeview under ipy

RESULTS:

both ContextMenu and ContextMenuStrip are not accessible by ATs if use '*.Show()'

EXPECTED RESULTS:

ContextMenu and ContextMenuStrip should be accessible by ATs,

after doing step 3-4 or 6-7, user should see a 'Window' layer appear in accerciser left treeview under ipy, and contain 'Menu' 'Menu Items' as descendants
Comment 1 calen chen 2009-07-08 08:06:39 UTC
Created attachment 303688 [details]
sample for ContextMenu
Comment 2 calen chen 2009-07-08 08:07:07 UTC
Created attachment 303689 [details]
sample for ContextMenuStrip
Comment 3 calen chen 2009-07-08 08:08:00 UTC
*** Bug 516729 has been marked as a duplicate of this bug. ***
Comment 4 calen chen 2009-07-08 08:10:33 UTC
*** Bug 516731 has been marked as a duplicate of this bug. ***