App crashed and recommended I submit a bug report

Description

None

Environment

This occured after:

  1. I captured a screen shot

  2. Did some edits (arros, text box)

  3. Put the computer to sleep

  4. Resized the screen

  5. Tried to adjust a callout box - crash

 

Software version: 1.2.10.6-RELEASE-c2414cf0149a1475ea00520effc01b40087c225c (64 bit)
.NET runtime version: 4.0.30319.42000+
Time: 2024-05-07 08:55:02 -04:00
OS: unknown (x64) 10.0 build 22631 revision 0
GDI object count: 308
User object count: 284

Exception: System.MemberAccessException
Message: Could not set property 'Value' to '5.554775' [Decimal] on 18. Probably other type than expected, IBindingCoverter to the rescue.

Stack:
at Greenshot.Drawing.Fields.Binding.BidirectionalBinding.Synchronize(INotifyPropertyChanged sourceObject, String sourceProperty, INotifyPropertyChanged targetObject, String targetProperty)
at Greenshot.Drawing.Fields.Binding.BidirectionalBinding.FieldPropertyChanged(Object sender, PropertyChangedEventArgs e)
at System.ComponentModel.PropertyChangedEventHandler.Invoke(Object sender, PropertyChangedEventArgs e)
at Greenshot.Drawing.Fields.Field.set_Value(Object value)
at Greenshot.Drawing.Fields.AbstractFieldHolder.SetFieldValue(IFieldType fieldType, Object value)
at Greenshot.Drawing.Fields.FieldAggregator.UpdateFromBoundElements()
at Greenshot.Drawing.Surface.SelectElement(IDrawableContainer container, Boolean invalidate, Boolean generateEvents)
at Greenshot.Drawing.Surface.SurfaceMouseUp(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(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)
--- InnerException: ---
Exception: System.Reflection.TargetInvocationException
Message: Exception has been thrown by the target of an invocation.

Stack:
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.RuntimePropertyInfo.SetValue(Object obj, Object value, Object[] index)
at Greenshot.Drawing.Fields.Binding.BidirectionalBinding.Synchronize(INotifyPropertyChanged sourceObject, String sourceProperty, INotifyPropertyChanged targetObject, String targetProperty)
--- InnerException: ---
Exception: System.ArgumentOutOfRangeException
Message: Value of '5.554775' is not valid for 'Value'. 'Value' should be between 'Minimum' and 'Maximum'.
Parameter name: Value

Stack:
at System.Windows.Forms.NumericUpDown.set_Value(Decimal value)
at Greenshot.Controls.ToolStripNumericUpDown.set_Value(Decimal value)

Configuration dump:

Activity

Details

Assignee

Reporter

Affects versions

Components

Priority

Created May 7, 2024 at 1:02 PM
Updated May 7, 2024 at 1:02 PM