I cant use the paint bucket after using it multiple times. It just says unexpected error.

Bug #1803851 reported by Vishwamithran Sekar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pinta
Incomplete
Undecided
Unassigned

Bug Description

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentOutOfRangeException: Argument is out of range.
Parameter name: x
  at Pinta.Core.BitVector2DSurfaceAdapter.Set (Int32 x, Int32 y, Boolean newValue) [0x00000] in <filename unknown>:0
  at Pinta.Core.BitVector2DSurfaceAdapter.Set (Rectangle rect, Boolean newValue) [0x00000] in <filename unknown>:0
  at Pinta.Tools.FloodTool.FillStencilFromPoint (Cairo.ImageSurface surface, IBitVector2D stencil, Point start, Int32 tolerance, Cairo.Rectangle& boundingBox, Gdk.Region limitRegion, Boolean limitToSelection) [0x00000] in <filename unknown>:0
  at Pinta.Tools.FloodTool.OnMouseDown (Gtk.DrawingArea canvas, Gtk.ButtonPressEventArgs args, PointD point) [0x00000] in <filename unknown>:0
  at Pinta.Tools.PaintBucketTool.OnMouseDown (Gtk.DrawingArea canvas, Gtk.ButtonPressEventArgs args, PointD point) [0x00000] in <filename unknown>:0
  at Pinta.Core.BaseTool.DoMouseDown (Gtk.DrawingArea canvas, Gtk.ButtonPressEventArgs args, PointD point) [0x00000] in <filename unknown>:0
  at Pinta.Gui.Widgets.PintaCanvas.<PintaCanvas>m__2 (System.Object sender, Gtk.ButtonPressEventArgs 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

Revision history for this message
grofaty (grofaty) wrote :

1. What is the operating system you are using? Windows, Linux, MacOS?
2. What is operating system version?
3. What is your Pinta version from Help | About.

Can you try to install Pinta development version from:
https://www.pinta-project.com/releases/

Currently Pinta Development it is very stable. We are very near 1.7 stable release. Just looking for some important bug reports.

Changed in pinta:
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.