Bug 522570 - ToolStripDropDownButton: after doing click action menu_item shouldn't is showing selected
Summary: ToolStripDropDownButton: after doing click action menu_item shouldn't is show...
Status: NEW
Alias: None
Product: UI Automation
Classification: Mono
Component: Winforms - General (show other bugs)
Version: Release 1.0
Hardware: x86 openSUSE 11.1
: P3 - Medium : Normal
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-16 06:40 UTC by calen chen
Modified: 2009-07-16 06:40 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 2009-07-16 06:40:21 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