Crash when editing text

Description

Software version: 1.2.8.12-RELEASE-cab854b7229994fc9e4deaccd47885df500d7e1a (64 bit)
.NET runtime version: 4.0.30319.42000+
Time: 2016-07-19 09:19:49 +01:00
OS: Windows 10 (x64) 10.0 build 10586 revision 0
GDI object count: 161
User object count: 121

Exception: System.ArgumentNullException
Message: Value cannot be null.
Parameter name: font

Stack:
at System.Drawing.Graphics.DrawString(String s, Font font, Brush brush, RectangleF layoutRectangle, StringFormat format)
at Greenshot.Drawing.TextContainer.DrawText(Graphics graphics, Rectangle drawingRectange, Int32 lineThickness, Color fontColor, Boolean drawShadow, StringFormat stringFormat, String text, Font font)
at Greenshot.Drawing.TextContainer.Draw(Graphics graphics, RenderMode rm)
at Greenshot.Drawing.DrawableContainer.DrawContent(Graphics graphics, Bitmap bmp, RenderMode renderMode, Rectangle clipRectangle)
at Greenshot.Drawing.DrawableContainerList.Draw(Graphics g, Bitmap bitmap, RenderMode renderMode, Rectangle clipRectangle)
at Greenshot.Drawing.Surface.SurfacePaint(Object sender, PaintEventArgs e)
at System.Windows.Forms.Control.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Configuration dump:

Environment

Windows 10 x64

Activity

Show:
Robin Krom
February 11, 2020, 11:37 AM

This issue should have been closed, as it was fixed with 1.2.10

Assignee

Unassigned

Reporter

Tallal Garghouti

Affects versions

Components

Priority

Minor

Labels

None
Configure