Bug 494546

Summary: Accessible outside of window boundaries erroneously has 'showing' state
Product: [Mono] UI Automation Reporter: Brian Merrell <bgmerrell>
Component: Winforms - GeneralAssignee: E-mail List <mono-a11y-bugs>
Status: NEW --- QA Contact: E-mail List <mono-a11y-qa>
Severity: Normal    
Priority: P5 - None    
Version: Release 1.0   
Target Milestone: ---   
Hardware: x86   
OS: Linux   
Whiteboard:
Found By: Integration Test Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Brian Merrell 2009-04-14 01:07:38 UTC
PROBLEM STATEMENT

When a window is not large enough for all of the widgets to be seen, the accessibles of the widgets that cannot be seen in the window still have the 'showing' state.

REPRO

1.  Change 28 of uia2atk/test/samples/combobox_simple.py from "self.Height = 400" to "self.Height = 100"
2.  Run uia2atk/test/samples/combobox_simple.py.  Notice that only a subset of the 9 combo box items are showing (literally able to be seen) in the "ComboBox control" window.
3.  Run Accerciser and browse to and expand the "Tree Table" accessible.  This will reveal several "table cell" accessibles, which represent the items in the combo box
4.  Click on the "Interface Viewer" tab in Accerciser and expand the "Accessible" expander.
5.  In Accerciser's left pane, select each table cell accessible and view its states in the interface viewer.

RESULTS

Every table cell accessible has the "showing" state, even the table cells that cannot be seen.

EXPECTED RESULTS

The table cells that cannot be seen should not having the "showing" state.

COMMENTS

The expected behavior has been verified using Gtk.  For example, if you change the "height=600" to "height=200" in uia2atk/test/samples/gtktreeview_listcolumn.py and use Accerciser's interface viewer to check the states of the table cells that cannot be seen (just like in the REPRO steps above), you will notice that the table cells that cannot be seen do not having the 'showing' state.