Bug 520153

Summary: PropertyGrid: menu items with '-' text on ContexMenu should not have 'focusable' state and 'selectable' state
Product: [Mono] UI Automation Reporter: Feng Xia Mu <fxmu>
Component: Winforms - GeneralAssignee: E-mail List <mono-a11y-bugs>
Status: NEW --- QA Contact: E-mail List <mono-a11y-qa>
Severity: Normal    
Priority: P5 - None    
Version: Release 1.0   
Target Milestone: ---   
Hardware: i586   
OS: openSUSE 11.1   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Feng Xia Mu 2009-07-08 11:27:46 UTC
REPRO:

1. run uia2atk/test/samples/propertygrid.py.
2. run the attached scripts


RESULTS:

step2: Dash_item States: [STATE_ENABLED, STATE_FOCUSABLE, STATE_SELECTABLE, STATE_SENSITIVE, STATE_SHOWING, STATE_VISIBLE]

EXPECTED RESULTS:

step2: Dash_item States: [STATE_ENABLED,STATE_SENSITIVE, STATE_SHOWING, STATE_VISIBLE]

SUMMARY:
if we do as following:
1. on GUI, mouse Left click the "Font" tablecell, then mouse Right click.
2. press "Down" or "Up" all the time
we can see that when using "Down"/"Up" key to put focus cycles on menu item, the cursor will not stop on the menu items  "------" which looks like a separator, it seems that it can't be focused and be selected. Base on its special behavior, I think the kind of menu item should not have the 'focusable' and 'selectable' states.
Comment 1 Feng Xia Mu 2009-07-08 11:30:02 UTC
PS. if we set a button's height to 0, make it like a separator, it also can be selected or focused by mouseclick or key navigation.