Bug 493094

Summary: Drop-down list window has no states
Product: [Mono] UI Automation Reporter: Brian Merrell <bgmerrell>
Component: Winforms - GeneralAssignee: Michael Gorse <mgorse>
Status: VERIFIED FIXED QA Contact: E-mail List <mono-a11y-qa>
Severity: Normal    
Priority: P5 - None CC: cachen, mgorse
Version: Release 1.0   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Found By: Integration Test Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 488377    
Attachments: Gtk test script referenced in the REPRO steps. To be executed after running uia2atk/test/samples/gtkcombobox.py
WinForms test script referenced in the REPRO steps. To be executed after running uia2atk/test/samples/combobox_dropdownlist.py

Description Brian Merrell 2009-04-08 01:03:58 UTC
PROBLEM STATES

When some action causes a drop-down list window to be displayed, it is represented by a accessible with the "window" role.  This accessible is a child of the application accessible.  The problem is that when the window accessible representing the drop-down list window has no states whatsoever.

REPRO

1.  Run uia2atk/test/samples/gtkcombobox.py
2.  Run the attached Gtk test script (which performs the press action on the combo box accessible and the finds the drop-down list window accessible and prints its states).  Notice that the Gtk drop-down list window has several states (namely: STATE_ACTIVE, STATE_ENABLED, STATE_SENSITIVE, STATE_SHOWING, STATE_VISIBLE)
3.  Run uia2atk/test/samples/combobox_dropdownlist.py
4.  Run the attached WinForms test script (which does the same thing as the Gtk script, but for a WinForms app)

RESULTS

The script prints an empty list indicating that the drop-down list window has no states.

EXPECTED RESULTS

I would expect the WinForms drop-down list window accessible to have the same states as the Gtk one (i.e., STATE_ACTIVE, STATE_ENABLED, STATE_SENSITIVE, STATE_SHOWING, STATE_VISIBLE)
Comment 1 Brian Merrell 2009-04-08 01:06:42 UTC
Created attachment 284652 [details]
Gtk test script referenced in the REPRO steps.  To be executed after running uia2atk/test/samples/gtkcombobox.py
Comment 2 Brian Merrell 2009-04-08 01:08:46 UTC
Created attachment 284654 [details]
WinForms test script referenced in the REPRO steps.  To be executed after running uia2atk/test/samples/combobox_dropdownlist.py
Comment 4 Michael Gorse 2009-08-20 01:28:41 UTC
Fixed in UiaAtkBridge R140310 (trunk) and R140311 (branch).
Comment 5 calen chen 2010-05-06 07:23:29 UTC
Verified in 2.0.3