Bug 504335 - Toggle button accessible of a ToolStripSplitButton has extraneous "focusable" state
Summary: Toggle button accessible of a ToolStripSplitButton has extraneous "focusable"...
Status: NEW
Alias: None
Product: UI Automation
Classification: Mono
Component: Winforms - ATK (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-05-15 16:17 UTC by Brian Merrell
Modified: 2009-07-02 03:41 UTC (History)
1 user (show)

See Also:
Found By: Integration Test
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 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.