[Bug] files contained in folders go missing in Everything when restoring from trash

Discussion related to "Everything" 1.5.
nova2k1
Posts: 23
Joined: Sun Dec 20, 2020 9:15 am

[Bug] files contained in folders go missing in Everything when restoring from trash

Post by nova2k1 »

Hi,

I just noticed when using empty: that all the subfolders of a folder I recently restored from trash turned up in the results. So I quickly checked in explorer and all the files inside where still there.

Tests I did:
- create text file, search it in Everything, delete file, restore from trash -> file turns up in search again
- create folder, create subfolder inside, create text file in subfolder, search it in Everything, delete top folder, restore from trash -> folders turn up in search again, but files stay missing in everything

1.5.0.1423b (x64)
void
Developer
Posts: 20186
Joined: Fri Oct 16, 2009 11:31 pm

Re: [Bug] files contained in folders go missing in Everything when restoring from trash

Post by void »

Are you excluding your recycle bin under Tools -> Options -> Exclude?

If so, this is the expected behavior.
When files are excluded, they usually remain excluded, even when they should be included again.
You'll need to reindex this drive to pickup the excluded files.

To reindex a drive:
  • In Everything, from the Tools menu, click NTFS.
  • Right-click your drive and click Reindex.
Consider using result omissions instead of excluding.
Everything will track changes to result omissions.

edit:
empty:
child-count-from-disk:0
Limitations of Everything - Files moved from excluded folders remain excluded
santilli
Posts: 32
Joined: Tue Apr 30, 2024 7:05 am

Re: [Bug] files contained in folders go missing in Everything when restoring from trash

Post by santilli »

That solves one of the biggest mysteries for me :lol:
I noticed files I deleted and later restored would just never make it back to everything, one thing I used to do that did the trick was to change the file properties like hidden or read-only, and they'd show up again. Good to know that it's actually not a bug but just a feature. I don't really understand the purpose but nonetheless it's nice knowing I can disable it.

But now, another thing I noticed that seems more worrisome: files and folders that I deleted using everything, when restored, would come with gibberish trash names. I haven't made a post because I need to investigate further to see if everything really is directly related.
nova2k1
Posts: 23
Joined: Sun Dec 20, 2020 9:15 am

Re: [Bug] files contained in folders go missing in Everything when restoring from trash

Post by nova2k1 »

void wrote: Sat Aug 29, 2026 10:41 pm Are you excluding your recycle bin under Tools -> Options -> Exclude?

If so, this is the expected behavior.
When files are excluded, they usually remain excluded, even when they should be included again.
You'll need to reindex this drive to pickup the excluded files.
I do, thanks for clarifying, but in this case there is an inconsistency between directly deleted/restored files and files contained in folders.
This could lead to data loss if you aren't aware of this behavior and use empty: to clean up folders from the results without double checking.