Bug 503359

Summary: MenuStrip: double "focused" on menu accessibles
Product: [Mono] UI Automation Reporter: Ray Wang <rawang>
Component: Winforms - ATKAssignee: E-mail List <mono-a11y-bugs>
Status: REOPENED --- QA Contact: E-mail List <mono-a11y-qa>
Severity: Normal    
Priority: P5 - None    
Version: Unspecified   
Target Milestone: ---   
Hardware: Other   
OS: openSUSE 11.1   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Ray Wang 2009-05-13 09:51:50 UTC
PROBLEM STATEMENT:
I assume there is only one "focused" state for the accessibles, but

REPRODUCE:
1. run uia2atk/test/samples/menustrip.py
2. run accerciser
3. browser to and select "File" menu from left pane of Accerciser
4. open "Interface viewer" tab, and click "Accessible" 
5. press "alt+F" shortcut key to access "File" menu
6. there are "selected" and "focused" states added for "File" menu in "States" textbox 
7. browser to and select "New" menu item under "File" menu from left pane of Accerciser
6. press "alt+F" shortcut key to access "File" menu

RESULTS:
there are "selected" and "focused" states added for "New" menu item in "States" textbox 

for "File" menu:  +focsed, +selected
for "New" menu item: +focused, +selected, -focusable

EXPECTED RESULTS:
I guess "File" menu shouldn't has "focused" state, but "New" menu item?

for "File" menu: +selected
for "New" menu item: +focused, +selected, =focusable (= means not change)

but the expected results that I'm not sure, 

COMMENT:
Note that the "focusable" state of "New" menu item disappeared when you use "Alt+F" to access "File" menu, and "focused" state added for the "New" menu item.
Comment 1 Ray Wang 2009-05-14 03:48:18 UTC
the situation is very similar to bug 503725

*** This bug has been marked as a duplicate of bug 503725 ***
Comment 2 Feng Xia Mu 2009-07-02 07:36:18 UTC
I think the bug is a little different from bug 503725. The bug focused on: "on one accessible there should not have two 'focused' states exist at same time".
bug 503725 says: " Menu, Menu item loses "focusable" state when that item becomes focused", so I think it is nessary to reopen it.