Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@navz I think you win edgiest person on devRant. If I even talk about hugs, people get upset.
-
Omg I'm one of those people.
I'm building a small Java app for work that reads the XML output file of another program to run some tests over it. I put a progress bar in there that goes up to 98% for the first step of reading a file (parsing the file) and stays there during the second step (building a tree view out of it) which takes just as long. Coworker says ๐. -
If the progress bar is stuck I just count till 10, if it doesn't increase I press cancel...
-
Leya17768y@navz Damn Navneil keep the stories about your dick for yourself... Oh and one more thing. You're fired!!!
-
flag020328y@MrDhont if you know roughly how long the action takes or if if you can get feedback on what part of action is complete, set an target and then just use random to set increments in-between. That way it always look natural.
-
flag020328y@MrDhont i have actually used random(1,50) to get increment value and random(10,30) to get wait time (in ms). Looks organic. Can't complain. Especially if you want the bar to look fluid and span across the whole screen.
-
When waiting for other Progress bars, i'm pretty proud of my implementation. It actually Provides useful Information about The current and upcoming steps and get's calculated well.
Related Rants
Does anyone else feel like progress bars increase at random intervals and then stop at 99% until its actually done?
undefined
99%
progress bars
random