Bug 478932

Summary: ToolStripButton: navigate by accerciser crash the application
Product: [Mono] UI Automation Reporter: calen chen <cachen>
Component: Winforms - GeneralAssignee: Andres Aragoneses <aaragoneses>
Status: VERIFIED FIXED QA Contact: E-mail List <mono-a11y-qa>
Severity: Critical    
Priority: P1 - Urgent    
Version: Release 1.0   
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: 479113    

Description calen chen 2009-02-24 05:09:38 UTC
REPRO:

1. run uia2atk/test/samples/toolstripdropdown_toolstripbutton.py 
2. run accerciser
2. in accerciser, expand 'ipy' in the tree view on the left, expand 'frame'

RESULTS: 

application crashed

Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.ArgumentException: The provider for CheckBox should implement the Toggle pattern
  at UiaAtkBridge.CheckBoxButton..ctor (IRawElementProviderSimple provider) [0x00000] 
  at UiaAtkBridge.ToggleButton..ctor (IRawElementProviderSimple provider) [0x00000] 
  at UiaAtkBridge.AutomationBridge.HandleNewButtonControlType (IRawElementProviderSimple provider, UiaAtkBridge.ParentAdapter parentObject) [0x00000] 
  at UiaAtkBridge.AutomationBridge.HandleElementAddition (IRawElementProviderSimple simpleProvider) [0x00000] 
  at UiaAtkBridge.AutomationBridge.RaiseStructureChangedEvent (System.Object provider, System.Windows.Automation.StructureChangedEventArgs e) [0x00000] 
  at System.Windows.Automation.Provider.AutomationInteropProvider.RaiseStructureChangedEvent (IRawElementProviderSimple provider, System.Windows.Automation.StructureChangedEventArgs e) [0x00000] 
  at UiaAtkBridge.AutomationBridge.AddChildrenToParent (IRawElementProviderSimple provider) [0x00000] 
  at UiaAtkBridge.ParentAdapter.RequestChildren () [0x00000] 
  at UiaAtkBridge.ParentAdapter.OnGetNChildren () [0x00000] 
  at Atk.Object.NChildren_cb (IntPtr raw) [0x00000] 
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at Atk.Object.NChildren_cb(IntPtr raw)
   at GLib.MainLoop.g_main_loop_run(IntPtr )
   at GLib.MainLoop.Run()
   at UiaAtkBridge.Monitor.GLibMainLoopThread()
Comment 1 Brad Taylor 2009-03-04 15:22:42 UTC
Changing priority, adding hours.
Comment 2 Brad Taylor 2009-03-04 19:40:36 UTC
P1s and P2s automatically go into Release 1.0.
Comment 3 Andres Aragoneses 2009-03-04 20:33:07 UTC
r128619
Comment 4 calen chen 2009-03-24 02:40:22 UTC
Closed in 1.0 rpm version: uiautomationwinforms-1.0+129584-5 uiaatkbridge-1.0+129584-8