Summary: I can't change tool from Line/Curve, it throws exception.
This is Pinta 1.6. I work with a really big image with two layers. I tried to test the curve tool to trace a pencil sketch. The curve drawing was very, very slow, but worked until after one curve I couln't get out from the tool. I threw exception whatever I did. I had to kill Pinta to stop.
Here's the exception:
---------------------------------------------
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: SurfaceDiff requires surfaces to be same size.
at Pinta.Core.SurfaceDiff.Create (Cairo.ImageSurface original, Cairo.ImageSurface updated_surf, Boolean force) [0x00000] in <filename unknown>:0
at Pinta.Tools.ShapesHistoryItem..ctor (Pinta.Tools.BaseEditEngine passedEE, System.String icon, System.String text, Cairo.ImageSurface passedUserSurface, Pinta.Core.UserLayer passedUserLayer, Int32 passedSelectedPointIndex, Int32 passedSelectedShapeIndex, Boolean passedRedrawEverything) [0x00000] in <filename unknown>:0
at Pinta.Tools.BaseEditEngine.FinalizeAllShapes () [0x00000] in <filename unknown>:0
at Pinta.Tools.BaseEditEngine.HandleDeactivated (Pinta.Core.BaseTool newTool) [0x00000] in <filename unknown>:0
at Pinta.Tools.ShapeTool.OnDeactivated (Pinta.Core.BaseTool newTool) [0x00000] in <filename unknown>:0
at Pinta.Core.BaseTool.DoDeactivated (Pinta.Core.BaseTool newTool) [0x00000] in <filename unknown>:0
at Pinta.Core.ToolManager.SetCurrentTool (Pinta.Core.BaseTool tool) [0x00000] in <filename unknown>:0
at Pinta.Core.ToolManager.HandlePbToolItemClicked (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0
at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0
at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0
at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in <filename unknown>:0
at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0
at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0
at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00000] in <filename unknown>:0
I tried, but I can't reproduce this problem in Pinta development 1.7.0.140 from forge.pinta- project. com on Ubuntu 14.04. Crash didn't appear in my case. It would be helpful if you could write step-by-step instructions how to reproduce a crash. That would be very helpful to diagnose the problem.
But I can reproduce slow responses using some of the tool for bigger images like 5000 x 5000 images. Because of having one problem per bug report I reported new bug for slow performance in bug 1430968.
So this current bug report should only be related to crash and not to slow performance.