Size not updating after download or unzip

Discussion related to "Everything" 1.5 Alpha.
Post Reply
bit
Posts: 38
Joined: Fri Feb 17, 2023 8:57 am

Size not updating after download or unzip

Post by bit »

I found many times that after unzip or download, some files still missing file size property.
However, the "Total size" property shows right value.
sizediff.png
sizediff.png (23.78 KiB) Viewed 1406 times
I guess it could be a index updating issue so not easy to fix.
Can I update dirs/files properties manually from everything?

I am using 1339a. This issue exists in older versions too.
Last edited by bit on Sat Mar 11, 2023 12:37 am, edited 1 time in total.
bit
Posts: 38
Joined: Fri Feb 17, 2023 8:57 am

Re: Size not updating after download or unzip

Post by bit »

Those "empty size" file can be found using

Code: Select all

file: !~  !size: !size:0 
which all reside under my download folder.
void
Developer
Posts: 16672
Joined: Fri Oct 16, 2009 11:31 pm

Re: Size not updating after download or unzip

Post by void »

Sounds like Everything is having trouble reading the size for this file.
Are you able to reproduce the issue?
Could you please send some verbose debug logs?
  • In Everything, from the Tools menu, under the Debug submenu, check Start Debug Logging.
  • In Everything, from the Tools menu, under the Debug submenu, check Verbose.
  • Unzip some files.
  • wait for a new file to show with no size.
  • In Everything, from the Tools menu, under the Debug submenu, click Stop Debug Logging.
    The Everything Debug Log.txt will open in Notepad.
  • Please save this file to the Desktop and send to support@voidtools.com
Privacy

To find files with no size, include the following in your search:
size:unknown



Everything will not update the size until all handles to the file are closed.

Does Everything update the size after you restart Windows?

Consider using Process Explorer to close handles to the file, or to find the program keeping a handle opened, then close this program.



Please avoid using the Total Size property.
This property can take a very long time to calculate the total size for folders with many subfolders.
The total size information is calculated from disk, not the index.
bit
Posts: 38
Joined: Fri Feb 17, 2023 8:57 am

Re: Size not updating after download or unzip

Post by bit »

void wrote: Mon Mar 13, 2023 12:19 am Sounds like Everything is having trouble reading the size for this file.
Are you able to reproduce the issue?

Everything will not update the size until all handles to the file are closed.

Does Everything update the size after you restart Windows?

Consider using Process Explorer to close handles to the file, or to find the program keeping a handle opened, then close this program.
Haven't found a way to reproduce it 100%.
unzip has a minor chance to cause this issue, but I don't want to bother monitoring it and check debug logs. :(

About handles, I used a modified download script, which had trouble to close the file properly many times and I forced closed it - might casue the issue.

After system restart most files got the size updated. Everything was showing "scanning drives X:" after the restart.

Some files are still missing size property after restarted.
- Tried the Process Explorer and search for the file path, not found.
- Then search for the download dir which is the ancestor of those files, found explorer.exe opened some handles on some subdirs.
- Closed the explorer.exe process by Task manager, but size not got updated in Everything.
- in windows explorer I can view those files' size correctly
- the getsize function works and return the right size
getsize.png
getsize.png (12.75 KiB) Viewed 1348 times
For those files missing size value after restart, I found it can be solved by "delete it to recycle bin and restore it", as USN records updated?
deleteandrestore.png
deleteandrestore.png (124.07 KiB) Viewed 1348 times
Please avoid using the Total Size property.
This property can take a very long time to calculate the total size for folders with many subfolders.
- How often does it update the size of dirs, compared to the "size" property?
- The additional I/O or cpu load seems not sensitive to me. I did not find it slow in past few weeks.

Above all, I see a simple solution or feature looks already on your TODO list
press F5 to update indexed properties for current visible items
- If the properties you mentioned includes size, it would be nice. As now, size of dir has a bit of delay on updates

Anyway this issue can be fixed by delete-restore. That's enough on my end.

Thanks in advance.
void
Developer
Posts: 16672
Joined: Fri Oct 16, 2009 11:31 pm

Re: Size not updating after download or unzip

Post by void »

For those files missing size value after restart, I found it can be solved by "delete it to recycle bin and restore it", as USN records updated?
That's one way to force Everything to re-read the file size.
Renaming the file or changing the file attributes should also work.


- How often does it update the size of dirs, compared to the "size" property?
When the folder is "modified".
The folder is "modified" when there is a change (create, rename, delete, modify) to a direct child.

Changes to grandchildren may cause the total size to not update correctly.
asamirid
Posts: 127
Joined: Sat Oct 13, 2018 12:28 pm

Re: Size not updating after download or unzip

Post by asamirid »

hay greetings, i also have the same problem, no need to delete the file, just rename it anything "x" for example then rename it back to it's original name, the normal file size will show up, happened to me several times when i download linux ISO torrent using FDM ..
bit wrote: Wed Mar 15, 2023 2:07 am For those files missing size value after restart, I found it can be solved by "delete it to recycle bin and restore it", as USN records updated?
void
Developer
Posts: 16672
Joined: Fri Oct 16, 2009 11:31 pm

Re: Size not updating after download or unzip

Post by void »

I'm looking into the issue..
Post Reply