Bug 501074

Summary: Cannot perform action on accessible that is not visible
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: Major    
Priority: P1 - Urgent CC: cachen
Version: Release 1.0   
Target Milestone: Release 1.1   
Hardware: x86   
OS: openSUSE 11.1   
Whiteboard:
Found By: Integration Test Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Brian Merrell 2009-05-05 17:09:18 UTC
PROBLEM STATEMENT

In Gtk and in our 1.0 release we were able to perform actions on menus and menu items that weren't visible.  With recent RPMs, we are unable to do so.

REPRO

1.  Run uia2atk/test/samples/menustrip.py
2.  Run Accerciser, open the "Interface Viewer" tab, and expand the action expander
3.  In Accerciser's left pane, browse to and select the "Open" menu item of the ipy (menustrip.py) application
4.  In Accerciser's interface viewer, select the 'click' action and click 'perform' action.

RESULTS

The GUI does nothing

EXPECTED RESULTS

A "You are clicking Open" label should appear in the GUI, just as if the "Open" menu item was clicked with the mouse.

COMMENTS

This bug is at least partially my fault.  I logged Bug 494917--which I believe is invalid--and the fix caused this bug.  

Here is an IRC discussion on converning this bug:

10:32 <@bgmerrell> in Gtk you can perform an action on a menu item that isn't 
                   showing, and you could do it with SWF in 1.0.. but with 
                   recent RPMs, you can't do that anymore
10:32 <@sandy> bgmerrell: I just disabled that
10:33 <@sandy> because of a bug you filed
10:34 <@sandy> Prevent Invoke if there is no visible parent. [Fixes #494586, 
               #494917]
10:35 <@bgmerrell> so those bugs aren't necessarily saying that we shouldn't be 
                   able to perform actions on them
10:35 <@sandy> oh, it's that "select" vs "invoke" again
Comment 1 Brian Merrell 2009-05-05 17:10:01 UTC
I am marking this P1 because it's going to cause a lot of tests to fail.
Comment 2 Sanford Armstrong 2009-05-06 17:07:29 UTC
Adding hours.
Comment 3 Brad Taylor 2009-07-14 16:08:29 UTC
Move all P1 and P2 bugs into Release 1.1 milestone.