Copy to Folder... took long time for dialog to turn up

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
therube
Posts: 4977
Joined: Thu Sep 03, 2009 6:48 pm

Copy to Folder... took long time for dialog to turn up

Post by therube »

Copy to Folder... took LONG time for the (Windows copy) dialog to turn up?
The actual copy was proceeding, but the Windows copy dialog, at first, simply was not there.
And during that time, presumably up until the Windows dialog turned up, Everything was "busy" (opaque).

Is that "normal"?
(Suppose I could try again.)

(Wonder if a sleeping drive may have played in?)


as in, there was no (ongoing) dialog?
wow, it (the dialog) finally turned up - long time after

so i selected 100 GB of files (365 as it was, in Everything)
& was simply making a copy to same drive
(yes, i know, silly thing to do)
& i did it via ^above (Copy to Folder...)

& 18 GB (51 files) transferred - before the Windows
transfer dialog finally showed up. & during that time,
Everything was "busy" (grayed out). not sure of status
when the dialog came up, cause when it finally did,
i cancelled it (so didn't catch ! if Everything was back
once the dialog came up or not?)
void
Developer
Posts: 16745
Joined: Fri Oct 16, 2009 11:31 pm

Re: Copy to Folder... took long time for dialog to turn up

Post by void »

Thank you for your post therube,

It takes a long time to build the list of PIDLs from the filenames for the shell copy operation.

I have put on my TODO list to add a progress bar to the main search window.
therube
Posts: 4977
Joined: Thu Sep 03, 2009 6:48 pm

Re: Copy to Folder... took long time for dialog to turn up

Post by therube »

It wasn't the PIDL, I don't think?
Oh, "my" (other) PIDL was drag & drop, but you're saying this is different, shell copy.

And the shell finds 365 items to be "many", hmm.
void
Developer
Posts: 16745
Joined: Fri Oct 16, 2009 11:31 pm

Re: Copy to Folder... took long time for dialog to turn up

Post by void »

Edit -> Copy to Folder... will convert filenames to PIDLs (Item Id Lists)

This can be slow.
The copy dialog is not shown until all filenames have been converted to PIDLs.
Everything uses the shell to perform the Copy to folder operation.
The shell needs PIDLs (not filenames)



Everything will convert filenames to PIDLs when copying files to the clipboard.
A progress bar is shown in the status bar on the right when you copy a lot of files to the clipboard.
I have on my TODO list to use the same progress bar when using Edit -> Copy to folder.



Disabling Tools -> Options -> Advanced -> file_operation will cause Everything to fallback to SHFileOperation.
SHFileOperation uses filenames instead of PIDLs.
However, SHFileOperation will likely build PIDLs internally anyway...
The SHFileOperation copy dialog may show sooner.



I will consider an option to use simple PIDLs with file operations.
Simple PIDLs are faster to build.
However, they don't work for virtual folders like the Recycle Bin.
Post Reply