• Milx@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    The problem is, loading things takes different amounts of time. I once tried to implement a real loading bar for an app because it took long enough to load that clients needed some indication that the app hadn’t crashed. There were seven steps, so I naively made each step take about 14% of the bar. Then I tested it, and it just jumped to step 4, sat there for the entire loading process, and then jumped to 100%. Because loading isn’t linear.

    The only way for loading bars to work is for them to be fake.

    • Razgriz@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Why not make a fake loading screen that adjusts load times based on how long it took to load the previous instance within the same environment?

      If I’m using the same version of everything, and same hardware, then those load times would be very similar or near identical, and I no longer have to deal with randomly jumping status bars, no?