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

An unexpected error occured while writing to the clipboard

Description

I did a search and could not find a similar report for version 1.2.10.6 about clipboard issues.

Issue:
My image is not on the clipboard as expected. Most of the time I can open the image from the saved file with Greenshot and copy to clipboard, but sometimes that does not work either. These log entries occurred when I had the image open in Greenshot and I repeatedly clicked the "Copy to clipboard" button. Greenshot would hang and my image would not be on the clipboard. Eventually it worked after many tries.

I cannot reproduce upon demand, but if I use Greenshot heavily I can get the issue to happen within an eight hour work day. This has been a problem for me for many months.

portion of log file:
2019-03-15 08:27:59,936 [Greenshot] INFO - [Greenshot.Helpers.CaptureHelper] Calling processor TitleFix
2019-03-15 08:27:59,936 [Greenshot] INFO - [Greenshot.Helpers.CaptureHelper] Calling destination Open in image editor
2019-03-15 08:28:00,227 [Greenshot] WARN - [GreenshotPlugin.Controls.GreenshotForm] Unknown language key 'editor_counter_startvalue' configured for control 'counterLabel', this might be okay.
2019-03-15 08:28:00,227 [Greenshot] WARN - [GreenshotPlugin.Controls.GreenshotForm] Unknown language key 'editor_counter_startvalue' configured for control 'counterLabel', this might be okay.
2019-03-15 08:28:06,435 [Greenshot] ERROR - [GreenshotPlugin.Core.ClipboardHelper] An unexpected error occured while writing to the clipboard.
System.Runtime.InteropServices.ExternalException (0x800401D0): Requested Clipboard operation did not succeed.
at System.Windows.Forms.Clipboard.ThrowIfFailed(Int32 hr)
at System.Windows.Forms.Clipboard.SetDataObject(Object data, Boolean copy, Int32 retryTimes, Int32 retryDelay)
at GreenshotPlugin.Core.ClipboardHelper.SetDataObject(IDataObject ido, Boolean copy)
2019-03-15 08:28:10,912 [Greenshot] ERROR - [GreenshotPlugin.Core.ClipboardHelper] An unexpected error occured while writing to the clipboard.
System.Runtime.InteropServices.ExternalException (0x800401D0): Requested Clipboard operation did not succeed.
at System.Windows.Forms.Clipboard.ThrowIfFailed(Int32 hr)
at System.Windows.Forms.Clipboard.SetDataObject(Object data, Boolean copy, Int32 retryTimes, Int32 retryDelay)
at GreenshotPlugin.Core.ClipboardHelper.SetDataObject(IDataObject ido, Boolean copy)
2019-03-15 08:28:13,978 [Greenshot] ERROR - [GreenshotPlugin.Core.ClipboardHelper] An unexpected error occured while writing to the clipboard.
System.Runtime.InteropServices.ExternalException (0x800401D0): Requested Clipboard operation did not succeed.
at System.Windows.Forms.Clipboard.ThrowIfFailed(Int32 hr)
at System.Windows.Forms.Clipboard.SetDataObject(Object data, Boolean copy, Int32 retryTimes, Int32 retryDelay)
at GreenshotPlugin.Core.ClipboardHelper.SetDataObject(IDataObject ido, Boolean copy)
2019-03-15 08:28:17,039 [Greenshot] ERROR - [GreenshotPlugin.Core.ClipboardHelper] An unexpected error occured while writing to the clipboard.
System.Runtime.InteropServices.ExternalException (0x800401D0): Requested Clipboard operation did not succeed.
at System.Windows.Forms.Clipboard.ThrowIfFailed(Int32 hr)
at System.Windows.Forms.Clipboard.SetDataObject(Object data, Boolean copy, Int32 retryTimes, Int32 retryDelay)
at GreenshotPlugin.Core.ClipboardHelper.SetDataObject(IDataObject ido, Boolean copy)
2019-03-15 08:28:20,291 [Greenshot] ERROR - [GreenshotPlugin.Core.ClipboardHelper] An unexpected error occured while writing to the clipboard.
System.Runtime.InteropServices.ExternalException (0x800401D0): Requested Clipboard operation did not succeed.
at System.Windows.Forms.Clipboard.ThrowIfFailed(Int32 hr)
at System.Windows.Forms.Clipboard.SetDataObject(Object data, Boolean copy, Int32 retryTimes, Int32 retryDelay)
at GreenshotPlugin.Core.ClipboardHelper.SetDataObject(IDataObject ido, Boolean copy)
2019-03-15 08:28:26,352 [Greenshot] ERROR - [GreenshotPlugin.Core.ClipboardHelper] An unexpected error occured while writing to the clipboard.
System.Runtime.InteropServices.ExternalException (0x800401D0): Requested Clipboard operation did not succeed.
at System.Windows.Forms.Clipboard.ThrowIfFailed(Int32 hr)
at System.Windows.Forms.Clipboard.SetDataObject(Object data, Boolean copy, Int32 retryTimes, Int32 retryDelay)
at GreenshotPlugin.Core.ClipboardHelper.SetDataObject(IDataObject ido, Boolean copy)
2019-03-15 08:29:42,839 [Greenshot] WARN - [GreenshotPlugin.Controls.GreenshotForm] Wrong language key 'about_translation' configured for control 'lblTranslation'
2019-03-15 08:32:15,926 [Greenshot] WARN - [GreenshotPlugin.Controls.GreenshotForm] Wrong language key 'about_translation' configured for control 'lblTranslation'
2019-03-15 14:34:26,215 [Greenshot] WARN - [GreenshotPlugin.Controls.GreenshotForm] Wrong language key 'about_translation' configured for control 'lblTranslation'
2019-03-15 14:36:28,801 [Greenshot] WARN - [GreenshotPlugin.Controls.GreenshotForm] Wrong language key 'about_translation' configured for control 'lblTranslation'

Environment

I have had this issue on two different computers running similar software. One Win8.1 the other Win10.
OS: Windows 8.1 Pro or Windows 10 Pro (1803)
AV: SEP 14
Other installed programs: TeamViewer, Dropbox, Microsoft Office 2010/2013, ShoreTel Connect, Everything, Veeam Endpoint, Alertus, SSMS, Chrome, Firefox, Visual Studio, Dameware, Filezilla, Putty, Notepad++

Status

Assignee

Unassigned

Reporter

Paul S

Affects versions

1.2.10

Priority

Major