Bug 508974

Summary: Menu: focusable state is changed to focused states
Product: [Mono] UI Automation Reporter: calen chen <cachen>
Component: Winforms - GeneralAssignee: E-mail List <mono-a11y-bugs>
Status: VERIFIED FIXED QA Contact: E-mail List <mono-a11y-qa>
Severity: Normal    
Priority: P3 - Medium    
Version: Release 1.0   
Target Milestone: ---   
Hardware: x86   
OS: openSUSE 11.1   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description calen chen 2009-06-02 05:35:40 UTC
PROBLEM STATEMENT:
'focusable' and 'focused' should exist at one time when move mouse cursor to Menu&MenuItem, or when click Menu

REPRODUCE:
1. start uia2atk/test/samples/toolstripdropdownbutton.py (toolstripmenuitem.py have the same problem)
2. start accerciser
3. navigate to one of the menus from left side
4. click "interface viewer" and "Accessible"
5. move mouse cursor to one of the menus or click one of the menus (e.g.  "ToolStripDropDownButton1" or 
"ToolStripDropDownButton2")
6. look at the states of the menu

OR

1. navigate to one of the menuitems from left side in accerciser(e.g. 'Red')
2. in UI, click ToolStripDropDownBUtton1 to expand menu
3. move mouse cursor to 'Red'
4. look at the states of the menuitem

RESULTS:
there are 'focused' poped up, but 'focusable' is disappeared

EXPECTED RESULTS:
if the menu and menuitem is focuable, it should have "focused" and "focusable" states at one time, (also it should have 'selected' and 'selectable' states :)

COMMENT:
this problem is reproduced for Menu&MenuItem that is a direct descendant of a ToolStrip(toolstripdropdownbutton.py and toolstripmenuitem.py); also is reproduced for MenuItem that is in MenuStrip(menustrip.py)
Comment 1 calen chen 2009-06-02 05:55:13 UTC
ADD COMMENTS:

if move the focus from Menu&MenuItem, 'focusable' is appeared again
Comment 2 calen chen 2009-06-02 07:03:30 UTC
sorry I didn't notice Brian has filed a bug for this issue.

*** This bug has been marked as a duplicate of bug 503725 ***
Comment 3 calen chen 2009-06-02 07:12:22 UTC
sorry again, I still like to reopen this bug just to remind that 'Menu' also has the same problem. of cause if you think bug503725 fixed also can fix this one, please don't hesitate to mark it duplicate.
Comment 4 calen chen 2009-07-16 05:42:09 UTC
This issue doesn't be reproduced, so I closed it in trunk rpm version:

mono-uia-132785-276
uiautomationwinforms-137970-680
uiaatkbridge-138003-674