Bug 509165 - PrintPreviewDialog: zoom "menu" accessible has extraneous "focused" state
Summary: PrintPreviewDialog: zoom "menu" accessible has extraneous "focused" state
Status: NEW
Alias: None
Product: UI Automation
Classification: Mono
Component: Winforms - General (show other bugs)
Version: Release 1.0
Hardware: x86 openSUSE 11.1
: P2 - High : Normal
Target Milestone: Release 1.1
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-02 17:13 UTC by Brian Merrell
Modified: 2010-05-15 18:01 UTC (History)
1 user (show)

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


Attachments
pyatspi script referenced in REPRO steps (1.23 KB, text/plain)
2009-06-02 17:17 UTC, Brian Merrell
Details

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

When the zoom toggle button (the button with the magnifying glass icon on the tool bar) of the PrintPreviewDialog is clicked, a new "window" accessible appears that has a "menu" child.  This "menu" accessible seems to always have the "focused" state (even if the PrintPreviewDialog window is not active).  This "menu" accessible should ever have the "focused" state.

REPRO

1. Run uia2atk/test/samples/printpreviewdialog.py
2. Run the attached script, which does the following:
   1.  Performs the 'click' action for the zoom toggle button, which drops down 
       the zoom menu.
   2.  Print the states of the zoom "menu" accessible.

RESULTS

The "menu" accessible has the "focused" state

EXPECTED RESULTS

The "menu" accessible should not have the focused state
Comment 1 Brian Merrell 2009-06-02 17:17:32 UTC
Created attachment 295782 [details]
pyatspi script referenced in REPRO steps
Comment 2 Brian Merrell 2009-06-02 20:56:13 UTC
Oops, step 1 should actually read:

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

The script expected the PrintPreviewDialog to be open.
Comment 3 Brad Taylor 2009-07-14 16:08:36 UTC
Move all P1 and P2 bugs into Release 1.1 milestone.
Comment 4 Brad Taylor 2009-07-16 14:03:29 UTC
Hmm, from what I see, the Menu is the only thing that could be focused, as it's the foreground window.  What would you expect to report Focused here, Brian?