Crash when resizing the text handles

Description

screenshot in Greenshot image error.
Resize normally OK, but with a text containing item (textbox, speechbubble) added in the screenshot it crashes on the moment you click the 'ok' button in the 'Resize settings' dialog

Other non-text graphical items give no trouble (tried them all)

Screenshot and txt logging attached

Environment

Win7 64, Greenshot 1.2.4 Build 10 (64bit)

Attachments

2

Gliffy Diagrams

Activity

Show:
Ken Bateman
May 18, 2018 at 12:25 AM

Thanks, I've done that.
By the way... why doesn't this automatically update? Or why can't I update easily from the app:

Robin Krom
May 17, 2018 at 5:29 AM

Please update your Greenshot to 1.2.10, which is available since August last year.
http://getgreenshot.org/downloads/

Ken Bateman
May 17, 2018 at 1:39 AM

Please ignore the environment - I'm on Windows 10 64bit.

Ken Bateman
May 17, 2018 at 1:38 AM

Please ignore the description and read the attached text file "Greenshot crashed.txt".

Ken Bateman
May 17, 2018 at 1:21 AM

Software version: 1.2.9.112-RELEASE-9bc62ac42bd37d7ba2b19946b70d40a599332b75 (64 bit)
.NET runtime version: 4.0.30319.42000+
Time: 2018-05-17 13:13:45 +12:00
OS: unknown (x64) 10.0 build 17134 revision 0
GDI object count: 192
User object count: 120

Exception: System.NullReferenceException
Message: Object reference not set to an instance of an object.

Stack:
at Greenshot.Drawing.TextContainer.UpdateTextBoxPosition()
at Greenshot.Drawing.Adorners.ResizeAdorner.MouseMove(Object sender, MouseEventArgs mouseEventArgs)
at Greenshot.Drawing.Surface.SurfaceMouseMove(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseMove(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseMove(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:

Fixed

Details

Assignee

Reporter

Components

Priority

Created May 17, 2018 at 1:20 AM
Updated May 18, 2018 at 12:25 AM
Resolved May 17, 2018 at 5:29 AM