Exception when opening the context menu
Description
Environment
Microsoft 7
Gliffy Diagrams
Activity
Show:
Robin Krom December 28, 2016 at 8:11 PMEdited
Can you test if the changes fix your bug?
https://github.com/greenshot/greenshot/releases/download/Greenshot-UNSTABLE-1.2.9.111/Greenshot-INSTALLER-1.2.9.111-UNSTABLE.exe
Robin Krom December 24, 2016 at 9:27 PM
Fix will be available in a bugfix release next week.
Fixed
Pinned fields
Click on the next to a field label to start pinning.
Details
Assignee
Reporter
Payal Frihart
Payal FrihartPriority
Major
Time tracking
1h logged
Sprint
None
Created December 21, 2016 at 6:32 PM
Updated December 30, 2016 at 10:19 AM
Resolved December 24, 2016 at 9:27 PM
Software version: 1.2.9.104-RELEASE-3721c1004d2b146fd31b1e20740b8add11a61330 (64 bit)
.NET runtime version: 4.0.30319.42000+
Time: 2016-12-21 13:26:54 -05:00
OS: unknown (x64) 6.1 build 7601 revision 10000
GDI object count: 51
User object count: 32
Exception: System.ArgumentOutOfRangeException
Message: startIndex cannot be larger than length of string.
Parameter name: startIndex
Stack:
at System.String.Substring(Int32 startIndex, Int32 length)
at GreenshotPlugin.Core.ClipboardHelper.<GetImageFilenames>d__43.MoveNext()
at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source)
at GreenshotPlugin.Core.ClipboardHelper.ContainsImage(IDataObject dataObject)
at Greenshot.MainForm.ContextMenuOpening(Object sender, CancelEventArgs e)
at System.Windows.Forms.ToolStripDropDown.OnOpening(CancelEventArgs e)
at System.Windows.Forms.ToolStripDropDown.SetVisibleCore(Boolean visible)
at System.Windows.Forms.ToolStripDropDown.Show(Int32 x, Int32 y)
at System.Windows.Forms.ContextMenuStrip.ShowInTaskbar(Int32 x, Int32 y)
at System.Windows.Forms.NotifyIcon.ShowContextMenu()
Configuration dump: