Changes are not displayed immediately

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
Matthew
Posts: 2
Joined: Mon Dec 23, 2024 9:36 am

Changes are not displayed immediately

Post by Matthew »

Everything application on Windows.

When using Everything on an SMB resource from Windows, the application works as expected. When a file is renamed, the change is immediately displayed in the search results.
Unfortunately, when working on SMB that is hosted on Linux, the immediate detection of file changes does not work. A rescan is required to make the search results show the file with the new name.
Is this a bug or expected behavior?
void
Developer
Posts: 17152
Joined: Fri Oct 16, 2009 11:31 pm

Re: Changes are not displayed immediately

Post by void »

Everything uses ReadDirectoryChangesW to monitor changes to SMB shares.

If ReadDirectoryChangesW is not implemented by the host then Everything will be unable to see remote changes.



Everything 1.5 will have the option to use SHChangeNotifyRegister instead of ReadDirectoryChangesW.

To force Everything to use SHChangeNotifyRegister:
  • In Everything 1.5, from the Tools menu, click Options.
  • Click the Advanced tab on the left.
  • To the right of Show settings containing, search for:
    dir
  • Select: read_directory_changes
  • Set the value to: false
  • Click OK.
SHChangeNotifyRegister will only detect local changes made to SMB shares.
SHChangeNotifyRegister will not detect remote changes.
Matthew
Posts: 2
Joined: Mon Dec 23, 2024 9:36 am

Re: Changes are not displayed immediately

Post by Matthew »

It worked, thank you.
Post Reply