Bug 478932 - ToolStripButton: navigate by accerciser crash the application
Summary: ToolStripButton: navigate by accerciser crash the application
Status: VERIFIED FIXED
Alias: None
Product: UI Automation
Classification: Mono
Component: Winforms - General (show other bugs)
Version: Release 1.0
Hardware: x86 openSUSE 11.0
: P1 - Urgent : Critical
Target Milestone: Release 1.0
Assignee: Andres Aragoneses
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 479113
  Show dependency treegraph
 
Reported: 2009-02-24 05:09 UTC by calen chen
Modified: 2009-03-24 02:40 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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