Bugzilla – Bug 459332
ToolStripDropDownButton: hope do click action for menu[1] may close menu[0]'s list
Last modified: 2009-07-01 15:18:47 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!
*** Bug 459320 has been marked as a duplicate of this bug. ***
Taking bug, updating hours.
Typo when updating hours...
Fixed in r124016 of UIAutomationWinforms.
Closed in RPM Rev values for - 012109 uiautomationwinforms-124083-467 uiaatkbridge-124120-451
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
Un-assigning from me for now; my plate is rather full.