Ditto icon indicating copy to clipboard operation
Ditto copied to clipboard

Text Only Paste does not work when copied item is a directory

Open grandoth opened this issue 2 years ago • 5 comments

When using Text Only Paste shortcut after having copied a file from Windows Explorer, the path is pasted correctly (attempted in a text editor). However, if a directory (file folder) is copied, the paste result a no-op.

grandoth avatar Jul 19 '22 19:07 grandoth

I'm not seeing this, copying a folder in file explorer and then doing a text only paste, paste the folder path for me. Can you try again, look at the clip properties, should show that it has the copy format "CF_HDROP" listed. Also make sure you are running the latest version, https://ditto-cp.sourceforge.io.

sabrogden avatar Jul 20 '22 20:07 sabrogden

Thanks for the quick reply. Below is what I see. Is the Ditto Utils Ver right? image

grandoth avatar Jul 20 '22 21:07 grandoth

That looks correct. What is the end result for you? Nothing is pasted? What if you press ctrl-v after, did it just not send the paste.

sabrogden avatar Jul 22 '22 15:07 sabrogden

Yeah, nothing is pasted.

If I press Ctrl+V after Ctrl+Shift+V, nothing happens either.

In an Outlook Email window with Clipboard containing a file, if I do Ctrl+V, I get an attached file. If I follow that with Ctrl+Shift+V, I get a paste of the path. If I follow that with a 2nd Ctrl+V, I get a 2nd paste of the path.

If I do the same but with the Clipboard containing a folder: Ctrl+V results in error in Outlook (not being a file). Following that with Ctrl+Shift+V, I get nothing pasted (I did notice a busy mouse cursor briefly). Following that with a 2nd Ctrl+V, I also get nothing (again a brief busy cursor).

The brief busy cursor was common to both files and folders, so probably insignificant.

I quit all utilities I have running that might be intercepting keypresses (AutoHotkey, AltSnap). NirSoft HotKeysList shows Ctrl+Shift+V when Ditto is running and is omitted if I quit Ditto. I also tried checking the Windows Key control. Again, files work, but not folders.

I'll try this on another PC and report back soon.

grandoth avatar Jul 22 '22 20:07 grandoth

Shift + Enter works for me. Ctrl+Shift+V, as mentioned, does nothing.

robertgresock avatar Jul 24 '22 19:07 robertgresock