Bug 504335

Summary: Toggle button accessible of a ToolStripSplitButton has extraneous "focusable" state
Product: [Mono] UI Automation Reporter: Brian Merrell <bgmerrell>
Component: Winforms - ATKAssignee: E-mail List <mono-a11y-bugs>
Status: NEW --- QA Contact: E-mail List <mono-a11y-qa>
Severity: Normal    
Priority: P3 - Medium CC: cachen
Version: Release 1.0   
Target Milestone: ---   
Hardware: x86   
OS: openSUSE 11.1   
Whiteboard:
Found By: Integration Test Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Brian Merrell 2009-05-15 16:17:00 UTC
PROBLEM STATEMENT:

The ToolStripSplitButton is split into two accessibles:  1) a push button and 2) a toggle button.  The problem is that the toggle button accessible has an extraneous "focusable" state.

REPRODUCE:

1.  Run Accerciser, click on the "Interface Viewer" tab, and expand the "Accessibles" expander
2.  Run uia2atk/test/samples/toolstripsplitbutton.py
3.  In Accerciser's left pane, browse to and select the "toggle button" accessible of the toolstripsplitbutton.py (ipy) sample application.

RESULTS:

Notice that the "focusable" state is listed in the list of states of the interface viewer tab.

EXPECTED RESULTS:

I do not believe the "toggle button" accessible of the ToolStripSplitButton controls should have the "focusable" state.  As far as I can tell the accessible never receives the "focused" state.

It would be consistent with other ToolStrip* controls for the "focusable" state to not be present here.  Additionally, in Windows the "focusable" state is not present for the ToolStripSplitButton accessible (even though the accessible is implemented a bit differently there).

COMMENTS:

I think this is a regression since the 1.0 release.  

Ray wrote the original test so i am CCing him.
Comment 1 Brian Merrell 2009-05-15 16:40:05 UTC
This is definitely a regression since the 1.0 release.