cozy-files icon indicating copy to clipboard operation
cozy-files copied to clipboard

Upload of a complex folder : Progression is non continous

Open aenario opened this issue 10 years ago • 3 comments

When I upload a folder with a lot of small files (tested with americano-cozy with node_modules)

The progression goes 9% 10% 8% 11% 9%

I guess there is a race condition between upload and asyncloop for adding files May be just doesn't show the numerical progression while the asyncloop is running

aenario avatar Dec 04 '14 10:12 aenario

That doesn't surprise, it's actually somewhat the expected behaviour. Should we really fix it?

jsilvestre avatar Dec 04 '14 11:12 jsilvestre

I think so, from an user point of view, a moving ETA make senses, not a moving percentage.

This is of course low priority.

aenario avatar Dec 04 '14 11:12 aenario

I get it, let's do it the way you suggest: before the asyncloop is over, we show "computation blablabla", then the percentage. It will still move if the user adds more files during the upload (after the asyncloop), so we could "block" the update of the progress during the new asyncloop too.

jsilvestre avatar Dec 04 '14 11:12 jsilvestre