Bug 520523

Summary: MonthCalendar: select 'tree table' in accerciser, click button in GUI crash the app
Product: [Mono] UI Automation Reporter: calen chen <cachen>
Component: Winforms - GeneralAssignee: E-mail List <mono-a11y-bugs>
Status: NEW --- QA Contact: E-mail List <mono-a11y-qa>
Severity: Major    
Priority: P2 - High    
Version: Release 1.0   
Target Milestone: Release 1.1   
Hardware: x86   
OS: openSUSE 11.1   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on: 516718    
Bug Blocks:    
Attachments: sample for MonthCalendar

Description calen chen 2009-07-09 08:15:13 UTC
PROBLEM STATEMENT:

This sample has gave CalendarDimensions property showing 6 month on the form, but when you browse to select 'tree table'(don't select others) in accerciser on the left treeview, then back to GUI to click Pre/Back push button or 'Today:...' button, the application is crashed

REPRO:

1. run the attachment sample
2. run accerciser, expand 'ipy', expand 'filler', selecte 'tree table' on the left treeview.
3. mouse left click Preview/Back push button or 'Today:...' button

RESULTS:

the application is crashed:

Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.ArgumentException: Value does not fall within the expected range.
  at Mono.UIAutomation.Winforms.MonthCalendarDataGridProvider.GetItem (Int32 row, Int32 col) [0x00086] in /usr/src/packages/BUILD/uiautomationwinforms-137456/UIAutomationWinforms/Mono.UIAutomation.Winforms/MonthCalendarDataGridProvider.cs:144 
  at Mono.UIAutomation.Winforms.Behaviors.MonthCalendar.GridProviderBehavior.GetItem (Int32 row, Int32 col) [0x00000] in /usr/src/packages/BUILD/uiautomationwinforms-137456/UIAutomationWinforms/Mono.UIAutomation.Winforms.Behaviors/MonthCalendar/GridProviderBehavior.cs:87 
  at UiaAtkBridge.TableImplementorHelper.GetRowExtentAt (Int32 row, Int32 column) [0x0006d] in /usr/src/packages/BUILD/uiaatkbridge-137574/UiaAtkBridge/TableImplementorHelper.cs:240 
  at UiaAtkBridge.Table.GetRowExtentAt (Int32 row, Int32 column) [0x00000] in /usr/src/packages/BUILD/uiaatkbridge-137574/UiaAtkBridge/Table.cs:105 
  at Atk.TableAdapter.GetRowExtentAtCallback (IntPtr table, Int32 row, Int32 column) [0x0000d] in /usr/src/packages/BUILD/gtk-sharp-135660/atk/generated/TableAdapter.cs:210 
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal) in /usr/src/packages/BUILD/gtk-sharp-135660/glib/ExceptionManager.cs:line 58
   at Atk.TableAdapter.GetRowExtentAtCallback(IntPtr table, Int32 row, Int32 column) in /usr/src/packages/BUILD/gtk-sharp-135660/atk/generated/TableAdapter.cs:line 213
   at GLib.MainLoop.g_main_loop_run(IntPtr )
   at GLib.MainLoop.Run() in /usr/src/packages/BUILD/gtk-sharp-135660/glib/MainLoop.cs:line 59
   at UiaAtkBridge.Monitor.GLibMainLoopThread() in /usr/src/packages/BUILD/uiaatkbridge-137574/UiaAtkBridge/Monitor.cs:line 145
Segmentation fault

EXPECTED RESULTS:

click button should change to the correct month but not crashed
Comment 1 calen chen 2009-07-09 08:16:40 UTC
Created attachment 303994 [details]
sample for MonthCalendar
Comment 2 Brad Taylor 2009-07-14 16:08:42 UTC
Move all P1 and P2 bugs into Release 1.1 milestone.