Files
Files copied to clipboard
Bug: Archive size is not updated at the creation
Description
When creating an archive, the size of the archive is not displayed correctly in the view. Refreshing the page displays the correct size.
Steps To Reproduce
1- Create an archive with at least one item. 2- See that the size is not correctly displayed. 3- Refresh the page to see the size correctly displayed.

Steps to fix
- Display the correct size when creating
Files Version
Version 2.4.40 Dev
Windows Version
W10 Home 22H2 19045.2251
Log file
Irrelevant.
Hi! :-) May I kindly ask you if I can work on this issue?
Hi! :-) May I kindly ask you if I can work on this issue?
Hey, of course, go ahead! It'd be with pleasure we'd see it fixed! :)
Hey @Sferratore, are u still working on it?
Hey @Sferratore, are u still working on it?
Hi, unfortunately I'm having problems with my devices lately. I need to wait a couple days before being able to work again. If you want to take on this issue, feel free to start!
Hey @Sferratore, are u still working on it?
Hi, unfortunately I'm having problems with my devices lately. I need to wait a couple days before being able to work again. If you want to take on this issue, feel free to start!
ok then I will try to figure it out
Hey @Sferratore, are u still working on it?
Hi, unfortunately I'm having problems with my devices lately. I need to wait a couple days before being able to work again. If you want to take on this issue, feel free to start!
ok then I will try to figure it out
Are you still working on this? I tried to reproduce the scenario, but it was working properly.
Hey @Sferratore, are u still working on it?
Hi, unfortunately I'm having problems with my devices lately. I need to wait a couple days before being able to work again. If you want to take on this issue, feel free to start!
ok then I will try to figure it out
Are you still working on this? I tried to reproduce the scenario, but it was working properly.
Then the issue should be closed
Are you still working on this? I tried to reproduce the scenario, but it was working properly.
No, this issue has not been fixed.
Nope, not reproducible now.
I can still reproduce this on 2.5.21. Are you following the steps to reproduce
I can still reproduce this on 2.5.21. Are you following the steps to reproduce
It seems this only happens when creating .zip archives and not with .7z
Edit. Debugging I found out that .zip files do not fire a Size changed event when compression is completed (.7z archives do)
Hi. I'm looking for my first issue to fix. I was able to reproduce the issue with zip archive. It is not clear if anybody is working on it at the moment. If it is available, could you please assign it to me and give me any hints or code entry points?
@SerhiiHarashchenko this issue is available if you want to work on it. Please let us know if you have any specific questions and we'll try to help.
Hi @yaira2 . I was trying to replicate this error and now it happens both in zip and 7z compression, could someone verify?
Also in debugging i found out when the file is added to the filesAndFolders list is with size 0B. I suppose that the file compression hasn't finnished and is waiting for Size changed event trigger when compression is completed as @ferrariofilippo mentioned. Also could you pinpoint where this trigger happens
I see this issue in File Explorer as well.
In theory, we can wait a second or two and fetch the updated property.