Sign in to follow this  
andy1983

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

Recommended Posts

Hi all, need help since updating to B 4.0.5226.41987 i can no longer copy and paste images from windows, it allows it from web pages but i cant paste images that i have saved in my computer.

 

 

Share this post


Link to post
Share on other sites

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).

 

 

 

 

 

Share this post


Link to post
Share on other sites

Before updating the beta i could just go into my pics on windows 8.1 and copy an image then into paint.net where i could click the brown clipboard to paste the file. it worked perfectly but now it doesn't.

Share this post


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

Share this post


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.

Sign in to follow this