Bug 459332

Summary: ToolStripDropDownButton: hope do click action for menu[1] may close menu[0]'s list
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 0.9   
Target Milestone: Release 1.1   
Hardware: x86   
OS: openSUSE 11.0   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description calen chen 2008-12-16 09:05:03 UTC
PROBLEM STATEMENT

do click action under interface viewer in accerciser would show menu list for both menu[0] and menu[1]. I hope when doing click for one menu would close another menu's menu list

REPRO:

1. run accerciser
2. run uia2atk/test/samples/toolstripdropdownbutton.py
3. in accerciser, expand 'ipy' on the left tree, select
ToolstripDropDownButton1 which is with
"menu" role, do "click" action under "interface viewer"
4. select ToolstripDropDownButton2 which is with "menu" role, also do "click"
action

RESULTS:

both ToolstripDropDownButton1 and ToolstripDropDownButton2 show them menu list
in GUI

EXPECTED RESULTS:

I hope when doing click for one menu would close another menu's list

COMMENTS:

I am not sure if bug457990 is relevant to this issue. please take a look, thanks!
Comment 1 Brad Taylor 2009-01-02 12:43:15 UTC
*** Bug 459320 has been marked as a duplicate of this bug. ***
Comment 2 Brad Taylor 2009-01-06 14:50:26 UTC
*** Bug 459320 has been marked as a duplicate of this bug. ***
Comment 3 Sanford Armstrong 2009-01-07 15:15:20 UTC
Taking bug, updating hours.
Comment 4 Sanford Armstrong 2009-01-07 15:18:18 UTC
Typo when updating hours...
Comment 5 Sanford Armstrong 2009-01-21 07:58:51 UTC
Fixed in r124016 of UIAutomationWinforms.
Comment 6 calen chen 2009-01-22 08:50:28 UTC
Closed in
RPM Rev values for - 012109
uiautomationwinforms-124083-467
uiaatkbridge-124120-451
Comment 7 Brian Merrell 2009-01-22 19:59:11 UTC
Sandy and I figured out why I was still able to reproduce this issue.  It was because my fonts are larger and both ToolStripDropDownButtons did not fit on the ToolStrip.  Therefore, one ToolStripDropDownButton is "compacted" to the side.  Applying this patch to toolstripdropdownbutton.py should make the issue reproduceable still.

Index: toolstripdropdownbutton.py
===================================================================
--- toolstripdropdownbutton.py	(revision 123645)
+++ toolstripdropdownbutton.py	(working copy)
@@ -23,7 +23,7 @@
 
     def __init__(self):
         self.Text = "ToolStripDropDownButton control"
-        self.Width = 420
+        self.Width = 300
         self.Height = 300
         self.FormBorderStyle = FormBorderStyle.Fixed3D
Comment 8 Sanford Armstrong 2009-01-22 20:14:03 UTC
Un-assigning from me for now; my plate is rather full.