Error when copy-paste "draw freehand" figure

Description

Error after pressing Ctrl + V:

Software version: 1.2.10.6-RELEASE-c2414cf0149a1475ea00520effc01b40087c225c (64 bit)
.NET runtime version: 4.0.30319.42000+
Time: 2021-02-05 15:07:44 +01:00
OS: unknown (x64) 10.0 build 19042 revision 0
GDI object count: 242
User object count: 338

Exception: System.InvalidCastException
Message: Das Objekt des Typs "System.IO.MemoryStream" kann nicht in Typ "Greenshot.Plugin.Drawing.IDrawableContainerList" umgewandelt werden.

Stack:
bei Greenshot.Drawing.Surface.PasteElementFromClipboard()
bei Greenshot.ImageEditorForm.PasteToolStripMenuItemClick(Object sender, EventArgs e)
bei System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
bei System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
bei System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
bei System.Windows.Forms.ToolStripMenuItem.ProcessCmdKey(Message& m, Keys keyData)
bei System.Windows.Forms.ToolStripManager.ProcessShortcut(Message& m, Keys shortcut)
bei System.Windows.Forms.Form.ProcessCmdKey(Message& msg, Keys keyData)
bei Greenshot.ImageEditorForm.ProcessCmdKey(Message& msg, Keys keys)
bei System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
bei System.Windows.Forms.ContainerControl.ProcessCmdKey(Message& msg, Keys keyData)
bei System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
bei System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
bei System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
bei System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
bei System.Windows.Forms.Control.PreProcessMessage(Message& msg)
bei System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg)
bei System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)

Configuration dump:

Environment

Windows 10

Activity

Show:
Robin Krom
February 6, 2021, 5:42 AM

Any idea how you can reproduce this?

Tobias Gruber
February 8, 2021, 6:26 PM

Happens every time on my system, even after I re-installed greenshot.

Are there any other details I may can provide?

Best regards

Tobias

Robin Krom
February 8, 2021, 6:34 PM

I forgot this was an issue we already fixed for the coming 1.3 release, thanks for reporting this.

Fixed

Assignee

Unassigned

Reporter

Tobias Gruber

Affects versions

Components

None

Priority

Minor

Labels