Bug 503359 - MenuStrip: double "focused" on menu accessibles
Summary: MenuStrip: double "focused" on menu accessibles
Status: REOPENED
Alias: None
Product: UI Automation
Classification: Mono
Component: Winforms - ATK (show other bugs)
Version: Unspecified
Hardware: Other openSUSE 11.1
: P5 - None : Normal
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-13 09:51 UTC by Ray Wang
Modified: 2009-07-02 07:36 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 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.