|
Bugzilla – Full Text Bug Listing |
| Summary: | MenuStrip: menu item's "select" state doesn't go away when selected using selectChild | ||
|---|---|---|---|
| Product: | [Mono] UI Automation | Reporter: | Brian Merrell <bgmerrell> |
| Component: | Winforms - General | Assignee: | E-mail List <mono-a11y-bugs> |
| Status: | NEW --- | QA Contact: | E-mail List <mono-a11y-qa> |
| Severity: | Normal | ||
| Priority: | P4 - Low | CC: | cachen |
| Version: | Release 1.0 | ||
| Target Milestone: | --- | ||
| Hardware: | x86 | ||
| OS: | openSUSE 11.1 | ||
| Whiteboard: | |||
| Found By: | Integration Test | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | pyatspi script referenced in REPRO steps | ||
Created attachment 294830 [details]
pyatspi script referenced in REPRO steps
|
PROBLEM STATEMENT When using pyatspi's selectChild method to select a "menu item" child of a menu accessible, the menu item receives the "selected" state as expected, but the "selected" state doesn't go away when navigating to other menu items with the keyboard. REPRO 1. Run uia2atk/test/samples/menustrip.py 2. Run the attached pyatspi script, which does the following: 1. Performs 'click' action on the "Edit" menu to open it 2. Calls selectChild(1) on the "Edit" menu accessible to select the "Paste" menu item. 3. Prints the states of the "Paste" menu item 4. Presses the "Down" key to move the selection/focus to the "Copy" menu item. 5. Prints the states of both the "Copy" and "Paste" menu items RESULTS Both of the menu items have the "selected" state EXPECTED RESULTS The "Paste" menu item should have lost the "selected" state when it was navigated away from. I have verified this behavior with Gtk. COMMENTS For what it's worth, the "Paste' menu item does lose its "selected" state when the "Copy" menu item is clicked. You can uncomment the bottom portion of the script to see this.