Last Access Time index not updating automatically (v1.5.0.1419b)

Found a bug in "Everything"? report it here
avi
Posts: 37
Joined: Sat Aug 19, 2023 6:06 pm

Last Access Time index not updating automatically (v1.5.0.1419b)

Post by avi »

Hello,

I'm using Everything 1.5.0.1419b (x64) on Windows 11 25H2 (Build 26200.8875).

I enabled indexing of Last Access Time.

While testing, I noticed the following behavior:

1. I created a new text file on an NTFS drive.
2. I opened it several times with Windows Notepad without modifying or saving it.
3. Windows updates the file's Last Access Time correctly. I verified this using PowerShell (`LastAccessTime` property).
4. However, Everything continues to display the previous Last Access Time and does not update it automatically.
5. If I click Indexes → Force Rebuild, Everything immediately displays the correct, updated Last Access Time.

In other words, the Last Access Time stored in the index seems to remain stale until a full Force Rebuild is performed.


Thank you.
therube
Posts: 5802
Joined: Thu Sep 03, 2009 6:48 pm

Re: Last Access Time index not updating automatically (v1.5.0.1419b)

Post by therube »

Without looking, guessing it is a known shortcoming?

If you were to rename an affected file, then rename it back (Ctrl+Z), would that update Last Access (or does that cause it to be set to current ?) ?



Maybe related:
Everything incorrectly displaying timestamps
Tracking file opens (RunCount)
"Date Recently Changed" may should be "Last Access Time"
avi
Posts: 37
Joined: Sat Aug 19, 2023 6:06 pm

Re: Last Access Time index not updating automatically (v1.5.0.1419b)

Post by avi »

I tested it.

After opening the file in Windows Notepad (without modifying or saving it), PowerShell shows that the **Last Access Time** was updated, but Everything still shows the previous value.

If I then rename the file and immediately rename it back (Ctrl+Z), Everything updates the **Last Access Time** and displays the correct value.

So it seems that a rename operation causes Everything to refresh the file's metadata, including the updated Last Access Time, whereas a Last Access change by itself is not reflected until another file event (or a Force Rebuild) occurs.
void
Developer
Posts: 20166
Joined: Fri Oct 16, 2009 11:31 pm

Re: Last Access Time index not updating automatically (v1.5.0.1419b)

Post by void »

It's a limitation with Everything and the USN Journal.

Limitations of Everything - Date Accessed Change Detection

The USN Journal does not log changes to date accessed.
So there's no way for Everything to know date accessed has changed.

You will have to occasionally force a rebuild from Tools -> Options -> Indexes -> Force Rebuild to update date accessed.