Bug 471405

Summary: ToolStripDropDownButton: keyUp/Down doesn't rise focused and selected states for menu items
Product: [Mono] UI Automation Reporter: calen chen <cachen>
Component: Winforms - GeneralAssignee: Brad Taylor <btaylor1>
Status: VERIFIED FIXED QA Contact: E-mail List <mono-a11y-qa>
Severity: Normal    
Priority: P2 - High    
Version: Release 0.9   
Target Milestone: Release 1.0   
Hardware: x86   
OS: openSUSE 11.0   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 477893    

Description calen chen 2009-02-02 07:08:53 UTC
PROBLEM STATEMENT

click ToolStripDropDownButton to expand menu, then use keyUp/Down to navigate, but it doesn't rise focused and selected states for that selected menu item

REPRO:

1. run accerciser
2. run uia2atk/test/samples/toolstripdropdownbutton.py
3. in accerciser, expand 'ToolStripDropDownButton1' on the left tree, select Blue item which is with "menu item" role, 
4. in application Gui, mouse click  'ToolStripDropDownButton1' to expand menu, press keyDown move to "Blue", in accerciser under "interface viewer" to see Blue item's states

RESULTS:

never rise "focused" and "selected"

EXPECTED RESULTS:

my expectation is like this:
    *"menu item" role do keyUp/Down: +-focused, +-selected(same Gtk.Menu(samples/gtkmenubar.py))

COMMENTS:
Comment 1 Brad Taylor 2009-02-13 16:37:15 UTC
This appears to happen when I switch off and back on an item which I focused or unfocused, but we're not sending the correct state change event.
Comment 2 Brad Taylor 2009-03-04 15:28:24 UTC
Focus is critical for ATs like Orca.
Comment 3 Brad Taylor 2009-03-04 19:40:30 UTC
P1s and P2s automatically go into Release 1.0.
Comment 4 Brad Taylor 2009-03-09 20:50:08 UTC
Fixed in r128911.
Comment 5 calen chen 2009-03-10 05:32:10 UTC
closed in rpm version: mono-uia-128899-262 uiautomationwinforms-128916-622 uiaatkbridge-128918-610
Comment 6 calen chen 2009-04-08 09:29:38 UTC
reopened in 1.0 rpm version: 

uiaatkbridge-1.0+129584-8
uiautomationwinforms-1.0+129584-5
mono-uia-1.0+129584-7

keyUp/Down, mouse cursor, AtkSelection(expand menu first) to navigate MenuItem doesn't comes focused and selected states
Comment 7 Sanford Armstrong 2009-04-08 13:34:50 UTC
(In reply to comment #6)
> keyUp/Down, mouse cursor, AtkSelection(expand menu first) to navigate MenuItem
> doesn't comes focused and selected states

Do you mean ToolStripMenuItem?  This bug is about ToolStripDropDownButton, so the menu items are ToolStripMenuItems, not MenuItems.  If you are having an issue with MenuItems, please close this again and open a new bug.  I'm asking this because your scrum report referred to "menuitem.py".
Comment 8 calen chen 2009-04-09 11:39:02 UTC
Hi Sandy, I think ToolStripMenuItem also has this problem now, all controls that have children with MenuItem role are affected by menuitem.cs updated. 

I filed a new bug493560 and will closed this one