System.ArgumentOutOfRangeException Exception when Double Clicking .greenshot File from Windows Explorer
Description
Environment
Software version: 1.3.205 - 3350120b55 (64 bit)
.NET runtime version: 4.0.30319.42000+
Time: 2021-11-21 08:12:53 -05:00
OS: Windows 10 2009 x64 build 19042
GDI object count: 261
User object count: 359
Exception: System.ArgumentOutOfRangeException
Message: The added or subtracted value results in an un-representable DateTime.
Parameter name: value
Stack:
at System.DateTime.AddTicks(Int64 value)
at Greenshot.Base.Core.FileDescriptor..ctor(BinaryReader reader) in D:\a\1\s\src\Greenshot.Base\Core\FileDescriptor.cs:line 57
at Greenshot.Base.Core.FileDescriptorReader.<Read>d__0.MoveNext() in D:\a\1\s\src\Greenshot.Base\Core\FileDescriptorReader.cs:line 53
at Greenshot.Base.Core.ClipboardHelper.<IterateFileDescriptors>d__24.MoveNext() in D:\a\1\s\src\Greenshot.Base\Core\ClipboardHelper.cs:line 425
at Greenshot.Base.Core.ClipboardHelper.<IterateClipboardContent>d__22.MoveNext() in D:\a\1\s\src\Greenshot.Base\Core\ClipboardHelper.cs:line 382
at Greenshot.Base.Core.ClipboardHelper.ContainsImage(IDataObject dataObject) in D:\a\1\s\src\Greenshot.Base\Core\ClipboardHelper.cs:line 302
at Greenshot.Editor.Forms.ImageEditorForm.UpdateClipboardSurfaceDependencies() in D:\a\1\s\src\Greenshot.Editor\Forms\ImageEditorForm.cs:line 1182
at Greenshot.Editor.Forms.ImageEditorForm.ImageEditorFormActivated(Object sender, EventArgs e) in D:\a\1\s\src\Greenshot.Editor\Forms\ImageEditorForm.cs:line 873
at System.Windows.Forms.Form.OnActivated(EventArgs e)
at System.Windows.Forms.Form.set_Active(Boolean value)
at System.Windows.Forms.Form.WmActivate(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Configuration dump:
Double-clicked a file in Windows 10 Explorer, got the exception.
File path was:
"C:\Users\dhayes\Pictures\Greenshot Captures\2021-11-21 08_04_40-Alibaba Manufacturer Directory - Suppliers, Manufacturers, Exporters & Importers.greenshot"