Program crashes when I draw lines and make undo

Description

None

Environment

Software version: 1.2.10.6-RELEASE-c2414cf0149a1475ea00520effc01b40087c225c (64 bit)
.NET runtime version: 4.0.30319.42000+
Time: 2025-01-30 11:27:09 +01:00
OS: unknown (x64) 10.0 build 26100 revision 0
GDI object count: 125
User object count: 74

Exception: System.Runtime.InteropServices.ExternalException
Message: A generic error occurred in GDI+.

ErrorCode: 0x80004005

Stack:
at System.Drawing.Drawing2D.GraphicsPath.IsOutlineVisible(Point pt, Pen pen, Graphics graphics)
at Greenshot.Drawing.LineContainer.ClickableAt(Int32 x, Int32 y)
at Greenshot.Drawing.DrawableContainerList.ClickableElementAt(Int32 x, Int32 y)
at Greenshot.Drawing.Surface.SurfaceMouseDown(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseDown(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Configuration dump:

Activity

Show:

Details

Assignee

Reporter

Affects versions

Priority

Created January 30, 2025 at 10:35 AM
Updated January 30, 2025 at 10:35 AM