We're updating the issue view to help you get more done. 

Line disappeared when I clicked on it while holding shift key

Description

I was trying to increase the length of a line in the editing tool. I was holding the shift key before I clicked on it (because I wanted to keep the angle of the line). Once I clicked on it , the line disappeared. I was able to see the black end point markets for the line still.

Software version: 1.2.10.6-RELEASE-c2414cf0149a1475ea00520effc01b40087c225c (64 bit)
.NET runtime version: 4.0.30319.42000+
Time: 2019-05-23 10:02:01 -07:00
OS: unknown (x64) 6.1 build 7601 revision 10000
GDI object count: 108
User object count: 86

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:

Environment

Windows 7 Enterprise SP1 x64
Lenovo T470 (i5, 16 GB RAM, 256 NVM)

Status

Assignee

Unassigned

Reporter

Jimmy Tran

Affects versions

1.2.10

Components

Priority

Minor

Labels

None