Crash when cropping

Description

I receive this crash in the image editor screen when trying to crop my full=screen screenshot. It is repeatable.
Dont know if it is relevant , but I select the rectangle starting from the bottom-right and then go to the upper left of the screen.When I click the apply icon , the program crashes.

Software version: 0.8.0.527
.NET runtime version: v2.0.50727
Time: 2010-06-10 10:47:43 +02:00
OS: Windows XP Build 2600 Service Pack 3 Bits 32
GDI object count: 74
User object count: 69
Exception: System.ArgumentException
Message: Parameter is not valid.

Stack:
at System.Drawing.Image.get_Width()
at System.Drawing.Image.get_Size()
at System.Windows.Forms.PictureBox.GetPreferredSizeCore(Size proposedSize)
at System.Windows.Forms.Control.GetPreferredSize(Size proposedSize)
at System.Windows.Forms.Layout.DefaultLayout.LayoutAutoSizedControls(IArrangedElement container)
at System.Windows.Forms.Layout.DefaultLayout.xLayout(IArrangedElement container, Boolean measureOnly, Size& preferredSize)
at System.Windows.Forms.Layout.DefaultLayout.LayoutCore(IArrangedElement container, LayoutEventArgs args)
at System.Windows.Forms.Layout.LayoutEngine.Layout(Object container, LayoutEventArgs layoutEventArgs)
at System.Windows.Forms.Control.OnLayout(LayoutEventArgs levent)
at System.Windows.Forms.ScrollableControl.OnLayout(LayoutEventArgs levent)
at System.Windows.Forms.Control.PerformLayout(LayoutEventArgs args)
at System.Windows.Forms.Control.System.Windows.Forms.Layout.IArrangedElement.PerformLayout(IArrangedElement affectedElement, String affectedProperty)
at System.Windows.Forms.Layout.LayoutTransaction.DoLayout(IArrangedElement elementToLayout, IArrangedElement elementCausingLayout, String property)
at System.Windows.Forms.Control.PerformLayout(LayoutEventArgs args)
at System.Windows.Forms.Control.System.Windows.Forms.Layout.IArrangedElement.PerformLayout(IArrangedElement affectedElement, String affectedProperty)
at System.Windows.Forms.Layout.LayoutTransaction.DoLayout(IArrangedElement elementToLayout, IArrangedElement elementCausingLayout, String property)
at System.Windows.Forms.Control.SetBounds(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
at System.Windows.Forms.Control.set_Left(Int32 value)
at Greenshot.Drawing.DrawableContainer.DoLayout()
at Greenshot.Drawing.DrawableContainerList.MoveBy(Int32 dx, Int32 dy)
at Greenshot.Drawing.Surface.ApplyCrop()
at Greenshot.Drawing.Surface.ConfirmSelectedConfirmableElements(Boolean confirm)
at Greenshot.ImageEditorForm.BtnConfirmClick(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Environment

None

Gliffy Diagrams

Activity

Show:

Robin Krom June 10, 2010 at 7:55 AM

Sorry, made a mistake which came into the 527 build, is corrected with the 529.

Best wishes,
Robin

Robin Krom June 10, 2010 at 7:55 AM

  • *status*: open --> closed-fixed

Robin Krom June 10, 2010 at 7:48 AM

  • *assigned_to*: nobody --> apex75

Fixed

Details

Assignee

Reporter

Labels

Created June 10, 2010 at 6:51 AM
Updated June 10, 2010 at 6:51 AM
Resolved June 10, 2010 at 6:51 AM