Jump to content

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


Recommended Posts

Posted

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.

 

 

Posted

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

 

 

 

 

 

midoras signature.gif

Posted

Select the file in the Windows explorer and use Ctrl-C or Copy from the context menu.

Then 'Paste to new image' in Paint.NET.

midoras signature.gif

Posted

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.

Posted

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

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