Hello. I’m still testing GH2 and got those two crashes occuring:
1- Gradient component when moving the dot-handles from inside the Gradient Editor:
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentException: Size may not be empty.
at Eto.Drawing.BalloonF..ctor(PointF tip, SizeF size, Single thickness, Single corners, Single tipSize)
at Grasshopper2.Types.Colour.GripGradientInteraction.DrawGripTag(Context context, PointF point, String text)
at Grasshopper2.Types.Colour.GripGradientInteraction.DrawSelectedGrips(Context context, GripGradient gradient, Single x0, Single x1)
at Grasshopper2.Types.Colour.GripGradientInteraction.DrawAllGrips(Context context, GripGradient gradient)
at Grasshopper2.Types.Colour.GripGradientInteraction.DrawInterface(Context context)
at Grasshopper2.UI.Gradient.GradientControl.DrawGradient(Context context)
at Grasshopper2.UI.Gradient.GradientControl.OnDraw(Object sender, ControlDrawEventArgs args)
at Grasshopper2.UI.Flex.FlexControl.OnPaint(PaintEventArgs e)
at Eto.Forms.Drawable.Callback.OnPaint(Drawable widget, PaintEventArgs e) in D:\BuildAgent\work\dujour\src4\DotNetSDK\Eto\src\Eto\Forms\Controls\Drawable.cs:line 281
at Eto.Wpf.Forms.Controls.DrawableHandler`3.EtoMainCanvas.OnRender(DrawingContext dc) in D:\BuildAgent\work\dujour\src4\DotNetSDK\Eto\src\Eto.Wpf\Forms\Controls\DrawableHandler.cs:line 75
at System.Windows.UIElement.Arrange(Rect finalRect)
at System.Windows.ContextLayoutManager.UpdateLayout()
at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
2- I’ve seen it with the figurine preset picker… When applying the multiple option.. After adding a value.. When I drag it outside the component with the left mouse button everything is goes well and it is removed.. When dragging it accidently by the right mouse button Rhino crashes with the following error:
[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException: BeginDrag() may not be called if there’s already a marker being dragged.
at Grasshopper2.Parameters.Special.PresetMarkerStack.BeginDrag(PresetMarker marker, PointF mouse, SizeF offset)
at Grasshopper2.Parameters.Special.PresetPickerAttributes.MouseDownMulti(ResponseMouseArgs e)
at Grasshopper2.Parameters.Special.PresetPickerAttributes.HostMouseDown(ResponseMouseArgs e)
at Grasshopper2.Parameters.Special.UserInputAttributes1.UserInputResponder.MouseDown(ResponseMouseArgs e) at Grasshopper2.UI.Canvas.Canvas.MouseDownActiveHandler(MouseEventArgs e) at Grasshopper2.UI.Canvas.Canvas.MouseDownHandler(Object sender, MouseEventArgs e) at Eto.PropertyStore.TriggerEvent[T](Object key, Object sender, T args) in D:\BuildAgent\work\dujour\src4\DotNetSDK\Eto\src\Eto\PropertyStore.cs:line 266 at Eto.Forms.Control.OnMouseDown(MouseEventArgs e) in D:\BuildAgent\work\dujour\src4\DotNetSDK\Eto\src\Eto\Forms\Controls\Control.cs:line 279 at Grasshopper2.UI.Flex.FlexControl.OnMouseDown(MouseEventArgs e) at Eto.Forms.Control.Callback.OnMouseDown(Control widget, MouseEventArgs e) in D:\BuildAgent\work\dujour\src4\DotNetSDK\Eto\src\Eto\Forms\Controls\Control.cs:line 1712 at Eto.Wpf.Forms.WpfFrameworkElement3.HandleMouseDown(Object sender, MouseButtonEventArgs e) in D:\BuildAgent\work\dujour\src4\DotNetSDK\Eto\src\Eto.Wpf\Forms\WpfFrameworkElement.cs:line 1011
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)