I can't reproduce either of those crashes using Pinta 1.0 or the latest development build on Windows 7, but I do get a crash if I attempt to use the Paint Bucket tool.
Steps:
1) Create a new 10000 x 10000 image
2) Select Paint Bucket tool and attempt to use it (i.e. click on canvas)
======
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: y
at Pinta.Core.BitVector2DSurfaceAdapter.Set(Int32 x, Int32 y, Boolean newValue) in c:\Users\Jonathan\Documents\Visual Studio 2010\Projects\Pinta\Pinta.Core\Effects\BitVector2DSurfaceAdapter.cs:line 102
at Pinta.Core.BitVector2DSurfaceAdapter.Set(Rectangle rect, Boolean newValue) in c:\Users\Jonathan\Documents\Visual Studio 2010\Projects\Pinta\Pinta.Core\Effects\BitVector2DSurfaceAdapter.cs:line 117
at Pinta.Tools.FloodTool.FillStencilFromPoint(ImageSurface surface, IBitVector2D stencil, Point start, Int32 tolerance, Rectangle& boundingBox, Region limitRegion, Boolean limitToSelection) in C:\Users\Jonathan\Documents\Visual Studio 2010\Projects\Pinta\Pinta.Tools\FloodTool.cs:line 195
at Pinta.Tools.FloodTool.OnMouseDown(DrawingArea canvas, ButtonPressEventArgs args, PointD point) in C:\Users\Jonathan\Documents\Visual Studio 2010\Projects\Pinta\Pinta.Tools\FloodTool.cs:line 135
at Pinta.Tools.PaintBucketTool.OnMouseDown(DrawingArea canvas, ButtonPressEventArgs args, PointD point) in C:\Users\Jonathan\Documents\Visual Studio 2010\Projects\Pinta\Pinta.Tools\PaintBucketTool.cs:line 59
at Pinta.Core.BaseTool.DoMouseDown(DrawingArea canvas, ButtonPressEventArgs args, PointD point) in c:\Users\Jonathan\Documents\Visual Studio 2010\Projects\Pinta\Pinta.Core\Classes\BaseTool.cs:line 97
at Pinta.Gui.Widgets.PintaCanvas.<.ctor>b__2(Object sender, ButtonPressEventArgs e) in c:\Users\Jonathan\Documents\Visual Studio 2010\Projects\Pinta\Pinta.Gui.Widgets\Widgets\Canvas\PintaCanvas.cs:line 62
I can't reproduce either of those crashes using Pinta 1.0 or the latest development build on Windows 7, but I do get a crash if I attempt to use the Paint Bucket tool.
Steps:
1) Create a new 10000 x 10000 image
2) Select Paint Bucket tool and attempt to use it (i.e. click on canvas)
======
System. Reflection. TargetInvocatio nException: Exception has been thrown by the target of an invocation. ---> System. ArgumentOutOfRa ngeException: Specified argument was out of the range of valid values.
Parameter name: y
at Pinta.Core. BitVector2DSurf aceAdapter. Set(Int32 x, Int32 y, Boolean newValue) in c:\Users\ Jonathan\ Documents\ Visual Studio 2010\Projects\ Pinta\Pinta. Core\Effects\ BitVector2DSurf aceAdapter. cs:line 102
at Pinta.Core. BitVector2DSurf aceAdapter. Set(Rectangle rect, Boolean newValue) in c:\Users\ Jonathan\ Documents\ Visual Studio 2010\Projects\ Pinta\Pinta. Core\Effects\ BitVector2DSurf aceAdapter. cs:line 117
at Pinta.Tools. FloodTool. FillStencilFrom Point(ImageSurf ace surface, IBitVector2D stencil, Point start, Int32 tolerance, Rectangle& boundingBox, Region limitRegion, Boolean limitToSelection) in C:\Users\ Jonathan\ Documents\ Visual Studio 2010\Projects\ Pinta\Pinta. Tools\FloodTool .cs:line 195
at Pinta.Tools. FloodTool. OnMouseDown( DrawingArea canvas, ButtonPressEven tArgs args, PointD point) in C:\Users\ Jonathan\ Documents\ Visual Studio 2010\Projects\ Pinta\Pinta. Tools\FloodTool .cs:line 135
at Pinta.Tools. PaintBucketTool .OnMouseDown( DrawingArea canvas, ButtonPressEven tArgs args, PointD point) in C:\Users\ Jonathan\ Documents\ Visual Studio 2010\Projects\ Pinta\Pinta. Tools\PaintBuck etTool. cs:line 59
at Pinta.Core. BaseTool. DoMouseDown( DrawingArea canvas, ButtonPressEven tArgs args, PointD point) in c:\Users\ Jonathan\ Documents\ Visual Studio 2010\Projects\ Pinta\Pinta. Core\Classes\ BaseTool. cs:line 97
at Pinta.Gui. Widgets. PintaCanvas. <.ctor> b__2(Object sender, ButtonPressEven tArgs e) in c:\Users\ Jonathan\ Documents\ Visual Studio 2010\Projects\ Pinta\Pinta. Gui.Widgets\ Widgets\ Canvas\ PintaCanvas. cs:line 62
--- End of inner exception stack trace ---
at System. RuntimeMethodHa ndle._InvokeMet hodFast( Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System. RuntimeMethodHa ndle.InvokeMeth odFast( Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System. Reflection. RuntimeMethodIn fo.Invoke( Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityC hecks)
at System. Delegate. DynamicInvokeIm pl(Object[ ] args)
at GLib.Signal. ClosureInvokedC B(Object o, ClosureInvokedArgs args)
at GLib.SignalClos ure.Invoke( ClosureInvokedA rgs args)
at GLib.SignalClos ure.MarshalCall back(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data)
=======