Files icon indicating copy to clipboard operation
Files copied to clipboard

Bug: Archive size is not updated at the creation

Open QuaintMako opened this issue 2 years ago • 16 comments

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.

SizeError

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.

QuaintMako avatar Mar 06 '23 18:03 QuaintMako

Hi! :-) May I kindly ask you if I can work on this issue?

Sferratore avatar Mar 20 '23 10:03 Sferratore

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! :)

QuaintMako avatar Mar 20 '23 10:03 QuaintMako

Hey @Sferratore, are u still working on it?

dev-DTECH avatar Mar 22 '23 20:03 dev-DTECH

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!

Sferratore avatar Mar 22 '23 21:03 Sferratore

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

dev-DTECH avatar Mar 23 '23 07:03 dev-DTECH

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.

SpadVN avatar Mar 26 '23 15:03 SpadVN

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

dev-DTECH avatar Mar 27 '23 06:03 dev-DTECH

Are you still working on this? I tried to reproduce the scenario, but it was working properly.

No, this issue has not been fixed.

hishitetsu avatar Apr 10 '23 14:04 hishitetsu

Nope, not reproducible now.

kaushikramabhotla avatar Aug 12 '23 06:08 kaushikramabhotla

I can still reproduce this on 2.5.21. Are you following the steps to reproduce

Josh65-2201 avatar Aug 12 '23 15:08 Josh65-2201

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)

ferrariofilippo avatar Aug 16 '23 13:08 ferrariofilippo

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 avatar Feb 23 '24 14:02 SerhiiHarashchenko

@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.

yaira2 avatar Feb 23 '24 15:02 yaira2

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

migueldsol avatar Apr 04 '24 22:04 migueldsol

I see this issue in File Explorer as well.

0x5bfa avatar May 12 '24 14:05 0x5bfa

In theory, we can wait a second or two and fetch the updated property.

yaira2 avatar May 12 '24 14:05 yaira2