Copy/Paste does not preserve selection in target

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
tedy
Posts: 323
Joined: 17 Jun 2009 21:48

Copy/Paste does not preserve selection in target

Post by tedy »

Just noticed in the last version (16.20.0100) - when I copy a set of files from one tab to another, the selection is lost in the target (or just few files remain selected).
In one tab I select 10 or so files, hit Ctrl+C, switch to another tab, press Ctrl+V and I expect to see a selection of the items I just pasted, instead I see no selection or once I saw just 2 random files selected.
This a bug or something intentional? It was Ok in some previous versions.
No custom copy chosen in settings, most options are at their defaults.
P.S. I copy small files and in the moment they are pasted I can see the main window blinks (looses focus) for a moment.
P.S.2. If I copy severeal large files (50-100-200MB each) so the system copy dialog "has time to" appear, the selection is preserved in target. Not for small files that don't trigger the dialog to even appear.
Last edited by tedy on 26 Jan 2016 10:24, edited 2 times in total.

highend
Posts: 14996
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Copy/Paste does not preserve selection in target

Post by highend »

Latest = v16.20.0100 or an official release?

Type

Code: Select all

::fresh;
in your address bar and try the same in that XY instance

If it does work there, make a copy of your XYplorer.ini file, open it, remove the serial information, save it, zip it and attach it to your next post
One of my scripts helped you out? Please donate via Paypal

tedy
Posts: 323
Joined: 17 Jun 2009 21:48

Re: Copy/Paste does not preserve selection in target

Post by tedy »

Hi.
This also happens to a totally new installation with no leftovers - I use the portable ZIP version and copied and extracted it to a new and empty folder and ran it. The latest official 16.20.0100.
I had saved a previous test version - 16.10.0300 - there it works perfectly. Somewhere in 16.20 I presume something happened.
I hope this is an easy to fix bug because it's quite critical for frequent movers/copiers.

P.S. Yes, I've tried the ::fresh instance, it acts the same (buggy).
P.S.2. 16.20.0000 has the same bug.

highend
Posts: 14996
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Copy/Paste does not preserve selection in target

Post by highend »

Ok, confirmed

With custom copy not enabled the old version shows copied files immediately and retains the correct selection

The last working version is: v16.10.0305
and beginning from v16.10.0306 this behavior is broken

With custom copy enabled all versions up to the latest beta are fine

So this change is probably the culprit:
% Auto-Refresh: Optimized list refresh operations. Should result in a
notable speed-up especially on slow network drives.
One of my scripts helped you out? Please donate via Paypal

tedy
Posts: 323
Joined: 17 Jun 2009 21:48

Re: Copy/Paste does not preserve selection in target

Post by tedy »

Yes.
I guess Custom Copy works alright because it always displays the copy dialog, regardless of items' size. If I copy 10 files 1KB each, the dialog appears for a moment.
I liked the standard Windows behavior of not displaying the dialog for fast operations on small files. It only appears after a second or so when the process takes longer than a threshold, something like that.
I could get used to the custom copy anyways, but the standard copy has this feature to appear and steal focus only on large batches.

admin
Site Admin
Posts: 66671
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Copy/Paste does not preserve selection in target

Post by admin »

Wow, indeed. Not a good behavior. :naughty: Fix coming soon. Thanks!

Post Reply