Page 1 of 2
0.84: Copy & Paste of folder pastes as subfolder
Posted: Tue Feb 28, 2017 7:36 pm
by helmut
XnView: MP 0.84
OS: Windows XP - 32 bit
When copying and pasting a folder in the file list using Ctrl+X and Ctrl+P the folder is pasted as subfolder of itself.
Effect: Unexpected behaviour
To reproduce:
1. In the file list of the XnView browser, select a folder
2. Press Ctrl+X to copy the folder and its contents to the clipboard
3. Press Ctrl+V to paste the clipboard.
Actual behaviour (bug): The clipboard (folder) is pasted into the currently selected folder as a subfolder.
Expected behaviour: The clipboard should be pasted into the folder currently browsed in XnView.
Re: 0.84: Copy & Paste of folder pastes as subfolder
Posted: Wed Mar 01, 2017 9:16 am
by xnview
right, the problem is that copied folder is always selected, and is the destination
It's not like that in XnView Classic, but it was a feature (copied files/folder pasted in selected folder) added some time ago
Re: 0.84: Copy & Paste of folder pastes as subfolder
Posted: Wed Mar 01, 2017 11:55 am
by m.Th.
If you Copy/Cut a folder you should paste a folder and not only its content.
Re: 0.84: Copy & Paste of folder pastes as subfolder
Posted: Wed Mar 01, 2017 5:16 pm
by helmut
It's a special case which works fine in XnView Classic (apart from a missing updated of the file list).
Re: 0.84: Copy & Paste of folder pastes as subfolder
Posted: Wed Mar 01, 2017 5:17 pm
by helmut
xnview wrote:right, the problem is that copied folder is always selected, and is the destination
It's not like that in XnView Classic, but it was a feature (copied files/folder pasted in selected folder) added some time ago
O.k.. So let's add this feature to XnView MP, too.
Re: 0.84: Copy & Paste of folder pastes as subfolder
Posted: Thu Mar 02, 2017 7:30 am
by xnview
helmut wrote:xnview wrote:right, the problem is that copied folder is always selected, and is the destination
It's not like that in XnView Classic, but it was a feature (copied files/folder pasted in selected folder) added some time ago
O.k.. So let's add this feature to XnView MP, too.
Please see
HERE
Re: 0.84: Copy & Paste of folder pastes as subfolder
Posted: Thu Mar 02, 2017 7:40 am
by helmut
xnview wrote:helmut wrote:xnview wrote:right, the problem is that copied folder is always selected, and is the destination
It's not like that in XnView Classic, but it was a feature (copied files/folder pasted in selected folder) added some time ago
O.k.. So let's add this feature to XnView MP, too.
Please see
HERE
Looks like the other poster had no idea.
Try it out in Windows Explorer (Windows XP, 7, 8, 10) or XnView Classic and you'll see: Whenever pasting a folder and its contents on a folder in the file list, the contents must be pasted in the folder currently browsed (not pasted in the currently selected folder in file list).
Re: 0.84: Copy & Paste of folder pastes as subfolder
Posted: Thu Mar 02, 2017 10:55 am
by Erixx haxx
Hi:
Try it out in Windows Explorer (Windows XP, 7, 8, 10)
I tried this in Win 7 and I get an error box. "Sub folder already exist"
I'm not really seeing the problem here.
When you make the copy, that folder still has focus because you haven't changed focus Yet. If you click anywhere outside, then the copy is made outside as "Copy of"
So to change this, you would have to tell Xnview to Copy + loose/change focus of the selected item.
Mouse users - It shouldn't be a problem.
Keyboard users - Might have issue, but how do they paste back inside that same folder, if wanted
Re: 0.84: Copy & Paste of folder pastes as subfolder
Posted: Thu Mar 02, 2017 12:06 pm
by helmut
Erixx haxx wrote:Hi:
Try it out in Windows Explorer (Windows XP, 7, 8, 10)
I tried this in Win 7 and I get an error box. "Sub folder already exist"
I've just tried on Windows 7 Prof. 64 bit: Folders are pasted on the same level, not inside the currently selected folder. Did you copy and paste in the file list?
Erixx haxx wrote: I'm not really seeing the problem here.
The problem is that XnView is an image viewer, organizer, and to some extent a file manager. This file manager looks very much like Windows Explorer, therefore Windows users may expect the same behaviour like Explorer.
Erixx haxx wrote:... Keyboard users - Might have issue, but how do they paste back inside that same folder, if wanted
Enter and then Ctrl+V should to the job.
Re: 0.84: Copy & Paste of folder pastes as subfolder
Posted: Fri Mar 03, 2017 2:17 am
by Erixx haxx
Did you copy and paste in the file list?
Does this mean:
Folder Tree - Left side
or
File Browser - Big window
I tried inside the browser window on Win 7x64 view = details.
1.Select folder
2. Press Ctrl+X
3. Press Ctrl+V
4. Get error
Maybe this depends on veiw =
Enter and then Ctrl+V should to the job.
Enter would no longer enter the folder because you have lost focus.
You might be able do this if you switch focus to the tree or something.
Re: 0.84: Copy & Paste of folder pastes as subfolder
Posted: Fri Mar 03, 2017 8:18 am
by helmut
Erixx haxx wrote:Did you copy and paste in the file list?
Does this mean:
Folder Tree - Left side
or
File Browser - Big window ...
I mean the file list which by default is on the right side of the XnView browser. The file list displays both subfolders and images of the current folder.
(There is a seperate topic for Ctrl+C and Ctrl+V in folder tree which currently does not work properly at all.)
Re: 0.84: Copy & Paste of folder pastes as subfolder
Posted: Fri Mar 03, 2017 8:50 am
by xnview
O.k.,
Issue 1150 is fixed in next version. i add pasteIntoSubfolder setting to have previous behavior.
Re: 0.84: Copy & Paste of folder pastes as subfolder
Posted: Fri Mar 03, 2017 9:26 am
by helmut
xnview wrote:O.k.,
Issue 1144 is fixed in next version. i add copyOnSubfolder setting to have previous behavior.
Good. Perhaps a better naming for the setting could be "CopyIntoSubfolder" or "PasteIntoSubfolder".
Re: 0.84: Copy & Paste of folder pastes as subfolder
Posted: Thu Mar 16, 2017 8:45 am
by xnview
This problem is supposed to be fixed in
XnView MP 0.85 beta 1. Please check and confirm the bug fix here.
Re: 0.84: Copy & Paste of folder pastes as subfolder
Posted: Thu Mar 16, 2017 8:27 pm
by helmut
Copy & Paste works fine, now. Thank you, Pierre, for fixing this.
xnview wrote:O.k.,
Issue 1150 is fixed in next version. i add pasteIntoSubfolder setting to have previous behavior.
@Pierre: Where do I find this new setting?