74

Does anyone else feel like progress bars increase at random intervals and then stop at 99% until its actually done?

Comments
  • 5
    @uddinstock I believe you.
  • 8
    Have you ever tried to write one? It's pretty interesting.
  • 1
    @sheriffderek I have not yet. Tell me about it.
  • 2
    @navz I think you win edgiest person on devRant. If I even talk about hugs, people get upset.
  • 4
    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 ๐Ÿ‘Œ.
  • 0
    If the progress bar is stuck I just count till 10, if it doesn't increase I press cancel...
  • 2
    How do you even program a progress bar?? It sounds like magic to me hahahahh ๐Ÿ˜‚
  • 0
    @sheriffderek I was about to comment that :)
  • 0
    WHAT'S IT DOING IN THE LAST PERCENTAGE?!
  • 0
    @navz Damn Navneil keep the stories about your dick for yourself... Oh and one more thing. You're fired!!!
  • 0
    @ElCapitan no problem deleted the comment.
  • 0
    @navz ( อก° อœส– อก°)
  • 1
    @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.
  • 0
    @flag0 lol but then it is just something random and estimated and not real?
  • 1
    @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.
  • 0
    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.
Add Comment