Bug 509114 - PrintPreviewDialog: Zoom drop-down menu stays open even when other buttons are clicked
Summary: PrintPreviewDialog: Zoom drop-down menu stays open even when other buttons ar...
Status: NEW
Alias: None
Product: UI Automation
Classification: Mono
Component: Winforms - General (show other bugs)
Version: Release 1.0
Hardware: x86 openSUSE 11.1
: P4 - Low : Normal
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-02 14:42 UTC by Brian Merrell
Modified: 2009-07-02 02:58 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Merrell 2009-06-02 14:42:33 UTC
PROBLEM STATEMENT

When navigating and clicking the GUI with the mouse, if any other button is clicked while the zoom drop-down menu is open, the zoom drop-down menu will close.  This is not the case, however, when using the AtkAction interface's 'click' action.  That is, you can click on the zoom toggle button, which will open the zoom drop-down menu, and then perform the 'click' action on another accessible button and the zoom drop-down menu will stay open.

REPRO

1.  Run uia2atk/test/samples/printpreviewdialog.py
2.  Run Accerciser, open the "Interface Viewer" tab, and expand the "Accessible" and "Action" expanders.
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 "push button" accessible for the button labeled "3" on the GUI.  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 and shift+right to expand parents.  You can tell when you have the correct "push button" selected because Accerciser will temporarily highlight the GUI control in red.
6.  Use the keyboard to navigate back to the interface viewer (using tab) and continue using the keyboard to perform the "click" action for the selected push button.

RESULTS

The print preview will update after the "3" button is pushed, but the zoom drop-down menu stays open.

EXPECTED RESULTS

The zoom drop-down menu should close
Comment 1 Brian Merrell 2009-06-02 20:58:39 UTC
Oops, step 1 should actually read:

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