Qabel / qabel-desktop

(B2C) :computer: Desktop frontend of Qabel
Other
11 stars 12 forks source link

Sync progress bar looks strange #516

Open enkore opened 8 years ago

enkore commented 8 years ago

For me the sync progress bar looks strange. It's a bit hard to scrot, but maybe it can be seen:

progress 1 2 3

The leading edge somehow is composed of multiple parts with different colors. The brighter part will advance first, then after some time the darker main part catches up instantly. This gap reaches ~15 pixels or so (not in the screenshots above).

Edit: Better scrot:

2016-09-30-184536_2560x1440_scrot

thechauffeur commented 8 years ago

o.O @julianseeger I would love to hear a word from you about the reason behind this (I find this kinda funny).

julianseeger commented 8 years ago

Too many issues currently, I didn't recognize this one.. It's not that intuitive when you are syncing one file (the last one).

The bar does not represent the amount of files, but the size of those files (that explains the different sized for those 4 bars that have synced the same amount of files but are not equally filled). And there are two bars: One for the overall sync progress and one for the currently synced file (equal to the percentage shown on the right end). When syncing a lot of files, the overall bar (the orange ony) will slowly fill from 0 to 100% ... and the current progress (a transparent grey bar) will fill to 100% for one file, then jump back to 0% and start filling again for the next file. That way you get a feeling of progress even when there is no visible progress for the accumulated overall progress. ...apparently it's not intuitive enough ;)

The difference when syncing a single file (the last screenshot) ... might be because for every file a constant amount is added to the size because the DM has to be uploaded, too ... maybe that's not equally added for both bars ... or it's an asynchronous debouncing between the two bars ... not sure.

An example where the two bars make more sense: image image image image image image image image

(pay attention to where the amount of files changes... the last file # 144 is very big compared to the others and then 6 very big files are added)

btw.: the term "Syncing: 113 / 114" is misleading ... it could be understood as "Syncing file 113 of 114" but it's actually "Status: Syncing. Progress: 113 finished of 114 total"