Bug 509127

Summary: PrintPreviewDialog: Zoom drop-down "window" accessible has wacky component interface info
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: P4 - Low CC: cachen
Version: Release 1.0   
Target Milestone: ---   
Hardware: x86   
OS: openSUSE 11.1   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Brian Merrell 2009-06-02 15:05:47 UTC
PROBLEM STATEMENT

When the zoom toggle button is pressed (i.e., the button with a magnifying glass) a drop-down menu is displayed showing different levels of zoom (e.g, Auto, 500%, 200%).  This menu has a new "window" accessible as a parent, which appears when the menu drops down.  The problem is that the component interface information is incorrect for the "window" accessible.

REPRO

1.  Run uia2atk/test/samples/printpreviewdialog.py
2.  Run Accerciser, open the "Interface Viewer" tab, and expand the "Component" expander.
3.  In Accerciser's left pane, browse to and select the "toggle button" for the zoom SplitButton.  (The "toggle button" is a child of the "filler" accessible under the "tool bar" accessible.)
4.  In Accerciser's interface viewer, perform the 'click' action for the selected accessible.  To do this, select "click" under "Action" and then click "Perform Action".  You should notice that the zoom drop-down menu appears.

NOTE: From here on, you need to use the keyboard to navigate; the zoom drop-down menu will close if you mouse click in Accerciser or in the PrintPreviewDialog.

5.  Use the keyboard to navigate to the "window" accessible, which is a direct descendant of the 'ipy' application.  If you press "Tab" several times from the "Interface Viewer" tab, the keyboard focus will move to Accerciser's left pane.  You can then use the arrow keys to move up and down.

RESULTS

The component information is obviously wrong.  The absolute position and size are both -2147483648 x -2147483648.  The relative position is 0 x 0.

EXPECTED RESULTS

The component information should be accurate.
Comment 1 Brian Merrell 2009-06-02 20:58:04 UTC
Oops, step 1 should actually read:

1.  Run uia2atk/test/samples/printpreviewdialog.py and click on the
"PrintPreviewDialog" button.