Crash when closing all images and click on Images pad

Bug #1430789 reported by grofaty
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pinta
Fix Released
Medium
Cameron White

Bug Description

Pinta dev. 1.7.0.140 on Windows 7.

1. New image.
2. From Images pad click on X to close an image.
3. Click somewhere in Images pad and Pinta crashes with error:
==========
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at Pinta.Gui.Widgets.OpenImagesListWidget.HandleTreeButtonPressEvent(Object o, ButtonPressEventArgs args) in c:\GitRepos\Pinta\Pinta.Gui.Widgets\Widgets\OpenImages\OpenImagesListWidget.cs:line 146
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at GLib.Signal.ClosureInvokedCB(Object o, ClosureInvokedArgs args)
   at GLib.SignalClosure.Invoke(ClosureInvokedArgs args)
   at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data)
==========

Revision history for this message
grofaty (grofaty) wrote :
description: updated
Revision history for this message
Alan Horkan (horkana) wrote :

Downloaded the zip of 1.7.0.140 on Windows XP
was able to replicate this error

the easiest way to do it was to double click on X to close an image (but clicking elsewhere on the palette didn't always trigger it)

Changed in pinta:
importance: Undecided → Medium
milestone: none → 1.7
status: New → Confirmed
Revision history for this message
Cameron White (cameronwhite91) wrote :
Changed in pinta:
assignee: nobody → Cameron White (cameronwhite91)
status: Confirmed → Fix Committed
grofaty (grofaty)
Changed in pinta:
status: Fix Committed → Fix Released
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.