Using Text object and new Window and Pinta crashes

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

Bug Description

On Pinta 0.7 on Windows XP sp3 I did the following:
1. Open Pinta.
2. Select Text object from Tools.
3. Type something like: test
4. Press <Ctrl>+W to close the current document, don't save.
5. Press <Ctrl>+N to open new window (I have 1000x1000 pixels).
Pinta crashes with error:

================
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)
================

Revision history for this message
grofaty (grofaty) wrote :

Just a note, today I have installed Pinta 0.8 on Windows XP sp3 and also on Ubuntu 10.10 and problem still appears.

Jonathan Pobst (jpobst)
Changed in pinta:
milestone: none → 1.0
Revision history for this message
Jonathan Pobst (jpobst) wrote :
Changed in pinta:
importance: Undecided → Medium
status: New → Fix Committed
Revision history for this message
grofaty (grofaty) wrote :

I have installed Pinta 1.0 on Windows XP sp3 and I can confirm problem is solved.

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.