Bugzilla – Bug 509114
PrintPreviewDialog: Zoom drop-down menu stays open even when other buttons are clicked
Last modified: 2009-07-02 02:58:36 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
Oops, step 1 should actually read: 1. Run uia2atk/test/samples/printpreviewdialog.py and click on the "PrintPreviewDialog" button.