Bugzilla – Bug 522570
ToolStripDropDownButton: after doing click action menu_item shouldn't is showing selected
Last modified: 2009-07-16 06:40:49 UTC
PROBLEM STATEMENT: perform 'click' action(doAction(0)) for a menu_item with menu list contracted, drop down menu list that that menu_item is showing selected and focused with blue rectangle covered, contract it and drop down again that there is no menu_item selected and focused. currently the result of perform AtkAction is similar to perform AtkSeletion. I think atspi click action should coincident with mouse click the menu_item on GUI, I mean menu_item shouldn't covered with blue rectangle after perform click action REPRO: 1. run uia2atk/test/samples/toolstripdropdownbutton.py 2. run accerciser, expand panel, expand 'ToolStripDropDownButton1' menu, select 'Blue' menu_item on the left treeview 3. under 'interface viewer', expand 'Action', select 'click', click 'Perform action' button, (label is showing "You selected Blue" on GUI) 4. on GUI, mouse left click 'ToolStripDropDownButton1' menu to drop it down RESULTS: 'Blue' menu_item is showing selected and focused with blue rectangle covered, the result is similar to select 'Blue' item on Selection box under 'interface viewer' from accerciser EXPECTED RESULTS: 'Blue' menu_item shouldn't covered blue rectangle after perform 'click' action COMMENTS: I have verified this SWF sample in Vista, and verified with gtkMenubar.py. I think the issue "in step9: "focused" and "selected" state remains for the 'Green' menu item, expand the menu, you can see 'Green' menuitem is covered with blue rectangle. " in bug 508984 is related to this