Bug 508974 - Menu: focusable state is changed to focused states
Summary: Menu: focusable state is changed to focused states
Status: VERIFIED FIXED
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-06-02 05:35 UTC by calen chen
Modified: 2009-07-16 05:42 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-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