After closing multiple pasted images Pinta crashes

Bug #702272 reported by grofaty on 2011-01-13
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pinta
High
Unassigned

Bug Description

This bug looks like regression (I can't reproduce it on Pinta 0.5 on Ubuntu 10.10).

Pinta 0.6 on Windows XP sp3
1. <Print Screen> and paste the picture with <Alt>+V
2. From toolbar select New button accept default windows size and OK button.
3. Menu Window | Close all

Error is returned:
Unhandled exception:
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

Details:
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at System.ThrowHelper.ThrowArgumentOutOfRangeException()
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at Pinta.Core.WorkspaceManager.get_ActiveWorkspace() in c:\Users\Jonathan\Documents\Visual Studio 2010\Projects\Pinta\Pinta.Core\Managers\WorkspaceManager.cs:line 58
   at Pinta.Core.WorkspaceManager.get_Scale() in c:\Users\Jonathan\Documents\Visual Studio 2010\Projects\Pinta\Pinta.Core\Managers\WorkspaceManager.cs:line 79
   at Pinta.Gui.Widgets.PintaCanvas.OnExposeEvent(EventExpose e) in c:\Users\Jonathan\Documents\Visual Studio 2010\Projects\Pinta\Pinta.Gui.Widgets\Widgets\Canvas\PintaCanvas.cs:line 97
   at Gtk.Widget.exposeevent_cb(IntPtr widget, IntPtr evnt)

Jonathan Pobst (jpobst) on 2011-02-16
Changed in pinta:
importance: Undecided → High
grofaty (grofaty) on 2011-02-16
Changed in pinta:
status: New → Confirmed
Jonathan Pobst (jpobst) wrote :
Changed in pinta:
milestone: none → 0.7
status: Confirmed → Fix Committed
grofaty (grofaty) wrote :

I have installed Pinta 0.7 on Windows XP and I can confirm problem is fixed.

Changed in pinta:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers