Page 1 of 2

Clipboard

Posted: 20 Jul 2021 14:54
by zakoul
XYplorer slows down when a large number of files are copied to the buffer (>10000)

Re: Clipboard

Posted: 20 Jul 2021 15:35
by Horst
What are you trying to acomplish ?
I didn't ever had the need to make such an operation

Re: Clipboard

Posted: 20 Jul 2021 16:04
by zakoul
There are different cases. When the XYplorer is running, if you copy many files to the buffer, then not only the XYplorer itself starts to slow down, but also google chrome (it is impossible to copy or paste something). If you clear the clipboard or exit the XYplorer, then everything becomes normal.

Re: Clipboard

Posted: 05 Sep 2021 04:32
by Millzey
I may have just experienced the same issue. I ran a search in one pane. I had an empty paper in the other pane. I decided I would select all (7500 files) and copy, then paste in the paper pane. XYP froze for probably more than 5 minutes but was still processing something because it ended up responsive again. I tried it with a larger search that was about 15000 files and it froze about twice as long. During this time my AHK script would fail accessing the clipboard any time I used a hotkey, which was trigged from another program. Maybe this is normal I dont know. Perhaps I should have just used "Copy to opposite pane".

Re: Clipboard

Posted: 07 Sep 2021 16:40
by admin
I'll see what I can do.

Yes, "Copy to opposite pane" would have been much faster.

Re: Clipboard

Posted: 07 Sep 2021 19:24
by admin
BTW, here's a hot tip: If you want to copy and paste items within XYplorer (or also between different XYplorer instances) you can do that using purely textual information (which is much faster than regular copy-pasting items, notable especially when the number of items is high):

a) To copy the items to the clipboard as text: File | To Clipboard | Item Path/Name(s)
b) To paste the items from the clipboard as text: Edit | Paste Special | Paste Text As Item(s)

Re: Clipboard

Posted: 19 Sep 2021 10:07
by HumD
admin wrote: 07 Sep 2021 16:40 I'll see what I can do.
I subscribe to the above, in version 20.00 you can easily cut/copy/paste (> 10000) files, I do this very often. There is a huge performance degradation in version 20.10. Clipboard Markers is a good feature, but the price is too high. :( Please add the option to disable it for people working with multiple files to get back performance for XYplorer.

Re: Clipboard

Posted: 19 Sep 2021 10:58
by jupe
They have been optional since inception, if you had done any research yourself you may have found this info:

https://www.xyplorer.com/release_20.10.php#CM

Re: Clipboard

Posted: 19 Sep 2021 11:12
by HumD
jupe wrote: 19 Sep 2021 10:58 They have been optional since inception, if you had done any research yourself you may have found this info:

https://www.xyplorer.com/release_20.10.php#CM
These options affect only the visual response, they do not affect the work of the XY with the clipboard.

Re: Clipboard

Posted: 19 Sep 2021 11:12
by highend
Unfortunately, this doesn't solve the problem, @jupe

v20.00.0000
Selecting and copying (CTRL+C) 10.000 files (inside a ram disk) takes 1-2 seconds but navigating the list or tree is still instant afterwards (if you want to paste them anywhere).

v22.20.0211
Configuration | Colors and Styles | Styles | Clipboard Markers | [ ] Dimmed icons
Configuration | Colors and Styles | Styles | Clipboard Markers | [ ] Colored lines
Configuration | File Operations | Undo & Action Log | Clipboard | [ ] Log clipboard contents and enable restore

XY becomes absolutely unusable after copying the 10k files...

Re: Clipboard

Posted: 19 Sep 2021 11:24
by HumD
highend wrote: 19 Sep 2021 11:12 XY becomes absolutely unusable after copying the 10k files...
Not to mention 50,000-100,000 files. :ugeek:

Re: Clipboard

Posted: 19 Sep 2021 17:33
by admin
Better in next beta... :beer:

Re: Clipboard

Posted: 19 Sep 2021 17:48
by highend
Yeah, it's fast again, thanks!

Re: Clipboard

Posted: 19 Sep 2021 17:53
by HumD
admin wrote: 19 Sep 2021 17:33 Better in next beta... :beer:
Fantastic news! :beer:

I just thought, it would be nice to have the option to have the "Clipboard Markers" only work when copying no more than 100 files (configurable).

Re: Clipboard

Posted: 19 Sep 2021 17:57
by admin
Since you're new here, I'm not sure if you've seen this in the change log.

Code: Select all

This value can be tweaked here:
  ClipboardMarkersLimit=1000
So, what you want is:

Code: Select all

ClipboardMarkersLimit=100
How to tweak: https://www.xyplorer.com/faq-topic.php?id=tweak