Bug 493094 - Drop-down list window has no states
Summary: Drop-down list window has no states
Status: VERIFIED FIXED
Alias: None
Product: UI Automation
Classification: Mono
Component: Winforms - General (show other bugs)
Version: Release 1.0
Hardware: i586 Linux
: P5 - None : Normal
Target Milestone: ---
Assignee: Michael Gorse
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 488377
  Show dependency treegraph
 
Reported: 2009-04-08 01:03 UTC by Brian Merrell
Modified: 2010-05-06 07:23 UTC (History)
2 users (show)

See Also:
Found By: Integration Test
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Gtk test script referenced in the REPRO steps. To be executed after running uia2atk/test/samples/gtkcombobox.py (563 bytes, text/plain)
2009-04-08 01:06 UTC, Brian Merrell
Details
WinForms test script referenced in the REPRO steps. To be executed after running uia2atk/test/samples/combobox_dropdownlist.py (552 bytes, text/plain)
2009-04-08 01:08 UTC, Brian Merrell
Details

Note You need to log in before you can comment on or make changes to this bug.
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