Bug 428605

Summary: ToolStripComboBox: Begin implementation
Product: [Mono] UI Automation Reporter: Brad Taylor <btaylor1>
Component: Winforms - ATKAssignee: Andres Aragoneses <aaragoneses>
Status: RESOLVED FIXED QA Contact: E-mail List <mono-a11y-bugs>
Severity: Enhancement    
Priority: P4 - Low    
Version: Unspecified   
Target Milestone: Release 0.9   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on: 428792    
Bug Blocks:    

Description Brad Taylor 2008-09-22 18:10:54 UTC
Implement AtkAccessible and AtkComponent for ToolStripComboBox and develop initial unit test.

Specification
==============

Acts As: Panel with Combo Box child
Provides: AtkAccessible, AtkAction, AtkComponent, AtkSelection
Default State: (Inherits: ComboBox)
Comment 1 Andres Aragoneses 2008-09-24 20:44:55 UTC
New default assignee and QA (although we'll create a new dummy mailing list specifically for QA soon).
Comment 2 Brad Taylor 2008-09-25 22:11:59 UTC
Moving all of these to P4 to show that they have been triaged.  Will be reprioritizing these properly tomorrow.
Comment 3 Brad Taylor 2008-10-29 20:25:52 UTC
Orig. Est is not the right place for estimates as they do not alter the Curr. Est. field.  Because of this, Bugzilla tells Berserk that Remaining Hours is 0.  Updating Remaining Hours is the right place for new estimates.  Sorry for the spam.
Comment 4 Andres Aragoneses 2008-11-03 04:48:41 UTC
Hours.
Comment 5 Andres Aragoneses 2008-11-10 20:44:04 UTC
ToolstripComboBox provider navigation will be finished along with this provider bug I'm attaching on the dependencies.
Comment 6 Andres Aragoneses 2008-11-14 23:18:39 UTC
Added tests.
Comment 7 Andres Aragoneses 2008-11-21 22:05:55 UTC
The only thing lacking here is figure out why a test in the bridge is failing: missing states visible+showing. The rest is done.
Comment 8 Andres Aragoneses 2008-12-18 20:37:06 UTC
If we comment the StatesComboBox function, a new failing test arises:

7) UiaAtkBridgeTest.BridgeTests.ToolStripComboBoxDropDown :   Missing states: Visible, .. 
  Expected: True
  But was:  False


at UiaAtkBridgeTest.AtkTester.States (Atk.Object accessible, Atk.StateType[] expected) [0x00173] in /home/knocte/Documents/iDocs/Proyectos/mono/a11y/uia2atk2/UiaAtkBridge/Test/AtkTest/AtkTester.cs:1505
at UiaAtkBridgeTest.AtkTests.ComboBoxDropDownEntry (System.Object widget) [0x000e7] in /home/knocte/Documents/iDocs/Proyectos/mono/a11y/uia2atk2/UiaAtkBridge/Test/AtkTest/AtkTests.cs:658
at UiaAtkBridgeTest.BridgeTests.ToolStripComboBoxDropDown () [0x00000] in /home/knocte/Documents/iDocs/Proyectos/mono/a11y/uia2atk2/UiaAtkBridge/Test/UiaAtkBridgeTest/BridgeTests.cs:264
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00057] in /home/knocte/Documents/iDocs/Proyectos/mono/trunk/mcs/class/corlib/System.Reflection/MonoMethod.cs:159

Surprisingly this doesn't happen in the other comboboxes.
Comment 9 Andres Aragoneses 2008-12-26 16:16:14 UTC
As of r122107, this is not a problem anymore.

Wrt backporting, mgorse says it's possible that r122054 is the fix for this (in the provider side).