Bugzilla – Bug 509127
PrintPreviewDialog: Zoom drop-down "window" accessible has wacky component interface info
Last modified: 2009-07-02 02:58:28 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.
Oops, step 1 should actually read: 1. Run uia2atk/test/samples/printpreviewdialog.py and click on the "PrintPreviewDialog" button.