Drag and drop image copy in browser/win11

Ask for help and post your question on how to use XnView MP.

Moderator: xnview

scott967
Posts: 4
Joined: Sat Jan 21, 2012 11:33 pm

Drag and drop image copy in browser/win11

Post by scott967 »

Win 11 x64:

In the past (1.9.x) I could drag and drop an image file within the browser view and it would create a new file with "- copy" appended to file name. Since 1.10.3 and confirmed in 1.10.5 that no longer works. I can via context menu do a copy/paste of an image and that works.
jkm
Posts: 412
Joined: Sat May 11, 2024 12:43 am

Re: Drag and drop image copy in browser/win11

Post by jkm »

Drag and drop seems to work fine. It's more complicated than your make it sound, though.

Drag and Drop behavior depends on the source and destination (which you don't mention in your post). There is no single behavior that's always true in all circumstances.

If you drag and drop:
- From one drive to another: the default action is to COPY
- From one place to another on the same drive: the default action is to MOVE

You can tell what it's doing from the little white icon that appears next to your pointer before you drop. It's a + for copy, and an arrow for move.

You can then alter this behavior with modifier keys: CTRL and SHIFT

If it's going to move, and you hold CTRL, it will COPY instead. Watch the icon.
If it's going to copy, and you hold SHIFT, it will MOVE instead. Watch the icon.

It will automatically append "-copy" IF the source and destination folder are the same; then there is a name collision, so it alters the name of the new file to avoid it.

But it does not append "-copy" in normal copy operations, from one place to a different place.
Likewise for Copy/Paste. "-copy" is only appended if you paste to the same location the source file already exists; it has to resolve the name collision.

So if you CTRL+Drag a file to the same folder it's already in, you'll get an additional copy with "-copy" appended to the name.

I hope this helps...
User avatar
user0
XnThusiast
Posts: 2850
Joined: Sat May 09, 2015 9:37 am

Re: Drag and drop image copy in browser/win11

Post by user0 »