AletheiaWareLLC / bcfynego

Apache License 2.0
0 stars 0 forks source link

Registration Progress Bar Sticks at 0% Until Complete #2

Open stuartmscott opened 3 years ago

stuartmscott commented 3 years ago

Reported by @andydotxyz when registering the progress bar does not increment correctly, instead it sticks at 0% until complete.

I suspect this is due to the first operation (generating RSA 4096bit key pair) taking a much longer time than the others. Unfortunately the RSA generation doesn't provide a callback to get incremental progress. Perhaps an infinite progress bar would be better?

andydotxyz commented 3 years ago

infinite would be OK. I think that a real progress bar that is att 0% for more than 10sec says to me I have at least 15 minutes to go make a coffee ;)

stuartmscott commented 3 years ago

I am sure Netflix's progress bar is updated not only by the operation, but also by a timer so even if the stream isn't downloading it will "progress" each second up to 25%. https://news.ycombinator.com/item?id=25204892

This feels like a dark pattern so I'll go with infinite progress bar