Jump to content

Clipboard doesn't contain an image after updating to B4.0.5226.41987


Recommended Posts

Never did this before but I can confirm that copy from explorer works with 3.5.11 but not with the latest 4 beta (Windows 7, 64 bit).

 

Alert: There was an error getting the image from the clipboard.

 

Details:

 

System.NullReferenceException: Object reference not set to an instance of an object.

   at PaintDotNet.Actions.PasteInToNewImageAction.PerformAction(AppWorkspace appWorkspace) in D:\src\pdn\paintdotnet\src\PaintDotNet\Actions\PasteInToNewImageAction.cs:line 81

 

Content of the clipboard:

 

post-79572-0-50217500-1399401306_thumb.j

 

It looks like that Paint.NET no longer evaluates CF_HDROP in the paste action. There is no other CF_ object in the data object on the clipboard.

 

Drag & drop of the image works as expected (but this is an open action).

 

 

 

 

 

midora%20signature.gif
Link to post
Share on other sites

Okay, figured this out. I fixed this early for copying an image from Internet Explorer, but now it's broken when copying from File Explorer.

 

Turns out, IE uses ANSI (1-byte/char) whereas FE uses Unicode (2-byte/char). At least it tells me which one its using in the DROPFILES struct ... http://msdn.microsoft.com/en-us/library/windows/desktop/bb773269(v=vs.85).aspx

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...