Page 1 of 1

After duplicating a file, selection changes

Posted: 23 Nov 2025 00:19
by isg
When I use Ctrl+D to duplicate a file, the originally selected file (the one I just duplicated) is no longer the selected one. To replicate:
1. Sort descending by Modified date
2. Click on a single file
3. Press Ctrl+D
=> Selection stays on the file with the same index (usually the newly created file).
4. Press {Down} to select the original file again
5. Press Ctrl+D to create a second duplicate (with -02 suffix)
=> Selection stays on the file with the same index (usually the first duplicate, with suffix -01).

XYplorer: 28.00.0720 (64-bit) - tested with portable version with all default settings.
kI9GXIdfiT.gif
kI9GXIdfiT.gif (89.59 KiB) Viewed 138 times

Re: After duplicating a file, selection changes

Posted: 24 Nov 2025 13:12
by admin
Looks like the selection always stays at the same row (127 in this case). I admit this is not really expected or useful.

What would you all prefer after a duplication?:
1) Selection stays where it was (at the original)
2) Selection moves to the copy

My vote goes to 1)

Re: After duplicating a file, selection changes

Posted: 24 Nov 2025 13:36
by klownboy
Yes, I vote for "1" also. Most of the time when I do that, I'm backing up the original and want to continue working on the original.

Re: After duplicating a file, selection changes

Posted: 24 Nov 2025 14:10
by noembryo
1

Re: After duplicating a file, selection changes

Posted: 24 Nov 2025 15:32
by isg
As my original report implied, I prefer behavior #1.

FYI try Ctrl+D when more than one file selected: only one file will be selected after the duplication. I tried this a few times (with two files selected), and I couldn't figure out which file gets selected after duplication: sometimes, the resulting selection matched the original index of the first file, other times it matched the index of the second one.

Re: After duplicating a file, selection changes

Posted: 24 Nov 2025 16:00
by admin
Alright, fixed in next beta.