Bug 459332 - ToolStripDropDownButton: hope do click action for menu[1] may close menu[0]'s list
Summary: ToolStripDropDownButton: hope do click action for menu[1] may close menu[0]'s...
Status: NEW
: 459320 (view as bug list)
Alias: None
Product: UI Automation
Classification: Mono
Component: Winforms - General (show other bugs)
Version: Release 0.9
Hardware: x86 openSUSE 11.0
: P3 - Medium : Normal
Target Milestone: Release 1.1
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-16 09:05 UTC by calen chen
Modified: 2009-07-01 15:18 UTC (History)
0 users

See Also:
Found By: ---
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 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.