andy1983 Posted May 6, 2014 Posted May 6, 2014 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. Quote
midora Posted May 6, 2014 Posted May 6, 2014 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: 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). Quote
Rick Brewster Posted May 6, 2014 Posted May 6, 2014 What exactly do you mean by "copy from explorer" ... ? CF_HDROP is definitely supposed to be handled. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html
midora Posted May 6, 2014 Posted May 6, 2014 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. Quote
andy1983 Posted May 6, 2014 Author Posted May 6, 2014 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. Quote
Rick Brewster Posted May 6, 2014 Posted May 6, 2014 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 Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html
andy1983 Posted May 7, 2014 Author Posted May 7, 2014 is there a way around this or is it a case of waiting for it to be fixed? Quote
TechnoRobbo Posted May 7, 2014 Posted May 7, 2014 (edited) try drag and drop -it works (click and drag into PDN from windows explorer) Edited May 7, 2014 by TechnoRobbo Quote Go out there and be amazing. Have Fun, TRSome Pretty Pictures Some Cool Plugins
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.