Paste does not work when pasting on a directory

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: XnTriq, helmut, xnview

Post Reply
badon
Posts: 7
Joined: Mon Oct 06, 2014 7:28 pm

Paste does not work when pasting on a directory

Post by badon »

Copy and paste works when pasting IN a directory in the browser, but when pasting ON a directory (without entering it), the paste does not occur, and there are no errors.
User avatar
XnTriq
Moderator & Librarian
Posts: 6336
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Paste does not work when pasting on a directory

Post by XnTriq »

Is Allow pasting to selected subfolder (Tools » Options... » File List » Misc.) activated?
User avatar
Karl02
Posts: 134
Joined: Mon Sep 03, 2007 1:00 pm
Location: Germany

Re: Paste does not work when pasting on a directory

Post by Karl02 »

I would like the behaviour of pasting to be different when using the mouse or the keyboard like in Windows Explorer:

When the folder tree has the focus, pasted files will always be moved into the selected folder.

When the browser pane has the focus, pasting with the keyboard shortcut "Ctrl+V" moves files into the currently displayed folder, even if a subfolder is selected.

When right-clicking with the mouse on a folder and selecting "Paste", the files will be moved into the clicked folder.

So there should be two options, or the option should only affect pasting with the keyboard as follows:

[ ] Keyboard paste in the browser pane moves files into the selected subfolder

The default should be off.

See also:
1) http://newsgroup.xnview.com/viewtopic.p ... 888#p60640 1.93.4: Fail to Paste into Selected Folder (2008-04-14)
2) http://newsgroup.xnview.com/viewtopic.p ... 106#p61721 Annoying copy-paste behaviour (2008-05-13)
3) http://newsgroup.xnview.com/viewtopic.p ... 168#p67474 1.95: Right-click folder and paste (2008-10-18)

Tested with XnView v2.33 (2015-06-18) on Windows 7 64 bit SP1.
-- Karl
badon
Posts: 7
Joined: Mon Oct 06, 2014 7:28 pm

Re: Paste does not work when pasting on a directory

Post by badon »

XnTriq wrote:Is Allow pasting to selected subfolder (Tools » Options... » File List » Misc.) activated?
I tested this again today, and it does indeed work correctly now.
User avatar
helmut
Posts: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Paste does not work when pasting on a directory

Post by helmut »

badon wrote:
XnTriq wrote:Is Allow pasting to selected subfolder (Tools » Options... » File List » Misc.) activated?
I tested this again today, and it does indeed work correctly now.
Thank you for your feedback and confirmation that this does work properly, badon.

Note:
I wondered why this setting isn't activated by default and tried out the behaviour of Windows Explorer on Windows XP and Windows 10: When selecting a subfolder in the file list (not the folder tree!) then pasting the clipboard creates copies of the images in the current directory (and not in the selected subfolder). To me that's quite surprising and not what I'd have expected. :shock: So XnView's standard behaviour in this szenario is similar to Windows Explorer, which is o.k.
Post Reply