Bugzilla – Bug 493094
Drop-down list window has no states
Last modified: 2010-05-06 07:23:29 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)
Created attachment 284652 [details] Gtk test script referenced in the REPRO steps. To be executed after running uia2atk/test/samples/gtkcombobox.py
Created attachment 284654 [details] WinForms test script referenced in the REPRO steps. To be executed after running uia2atk/test/samples/combobox_dropdownlist.py
Fixed in UiaAtkBridge R140310 (trunk) and R140311 (branch).
Verified in 2.0.3