News for hackers. Stuff that matters.
Re:Gmail’s fake loading indicator (2020) by pohl on Thursday November 11, 2021 @09:32AM (#29188181)
This defeats the point of a loading bar: it’s supposted to give an estimate of progress, not fill up at a rate entirely unrelated to actual loading!

I'd say it's actually fulfilling the real point of a loading bar: to keep the user pacified through some period of waiting that you couldn't engineer away.

Re:Gmail’s fake loading indicator (2020) by jrootabega on Thursday November 11, 2021 @10:37AM (#29189050)
I understand that the ideal 1-to-1 progress bar is not worth making, if it's even possible, but they should at least be proportional to actual progress. I want a progress bar that goes up if and only if there are responses being received, and processing of those responses completes. Progress bars that continue to fill up even when everything is completely hung make my blood explode.
Re:Gmail’s fake loading indicator (2020) by timdiggerm on Thursday November 11, 2021 @12:33PM (#29190622)
But why? Why is that important?
Re:Gmail’s fake loading indicator (2020) by Dudeman112 on Friday November 12, 2021 @11:05AM (#29200706)
You know what's worse than being not having a perfectly accurate representation of something?

Being told that something is working when it has crashed and you'll only notice it after a long, unknown time because the damn output is lying to you.

Re:Gmail’s fake loading indicator (2020) by sseagull on Thursday November 11, 2021 @12:51PM (#29190817)
So the user knows if they should stop waiting, reload/refresh/restart, or just hang tight.

If a progress bar or loading animation does not stop when something goes wrong, the it is conveying zero information and shouldn't be there.

Re:Gmail’s fake loading indicator (2020) by vultour on Thursday November 11, 2021 @12:54PM (#29190841)
Because you want to know if there was an error during loading and it's not progressing anymore, instead of a forever-increasing loading bar that just makes you wait.
Re:Gmail’s fake loading indicator (2020) by still_grokking on Thursday November 11, 2021 @01:17PM (#29191107)
Animations are indeed great for that but that's not a progress indicator. Those are two distinct things.

The one is just to distract the user for some time. The other is to signal that something's going on, and indicate the progress of that (background) task.

A distracting animation is only good to hide some latency. In cases where progress will be made eventually for sure and in a predicable amount of time.

If there is a task you can't be sure about when or even if it completes an animation is not the right tool. There you need a proper progress indicator.

Re:Gmail’s fake loading indicator (2020) by jeffwask on Thursday November 11, 2021 @09:52AM (#29188411)
100%. Loading indicators are psychological placebos for the user.
Re:Gmail’s fake loading indicator (2020) by bwlg on Thursday November 11, 2021 @10:33AM (#29188977)
Maybe on the web. But I feel on the web they are often not even there to mask load times but are just used as powerpoint-transition-like-effect. And also to prevent the user from seeing page-jumps when the page first loads.

But as an anecdote of where a progress bar was more than just cosmetic: Couple of years ago I attempted to upgrade to a new MacOS on my Macbook and the install ran into some error but gave no indication whatsoever. So the only info I had was that the progress bar hadn't moved at all in 5 hours. I waited another couple of hours before I switched it off and tried again. Without the progress bar I probably would've waited another day. I mean my macbook was still bricked but at least I could compare it to screenshots online of people getting stuck at the same point, allowing us all to blame Apple :)

That's quite a specific scenario but anytime it's difficult to debug what's actually happening, I wouldn't say progress bars are just cosmetic.

Re:Gmail’s fake loading indicator (2020) by still_grokking on Thursday November 11, 2021 @01:24PM (#29191194)
Off topic, but that's why I hate GUIs and animations hiding log output of the system when it's doing something important.

With a text console you can see exactly what was going on and in case of where it hung.

Re:Gmail’s fake loading indicator (2020) by QuercusMax on Thursday November 11, 2021 @10:29AM (#29188898)
Reminds me of a story my old boss used to tell about how they dealt with complaints about long waits for elevators in one high-rise building: putting mirrors on the walls. With sufficient distraction (everyone likes looking at themself, or at least can't help it) the elevators were no longer "too slow"!
Re:Gmail’s fake loading indicator (2020) by jeffwask on Thursday November 11, 2021 @02:31PM (#29192085)
I read once how they kept elevator attendants long after they had any use as a placebo to help people get acclimated to automatic elevators.
Re:Gmail’s fake loading indicator (2020) by jrootabega on Thursday November 11, 2021 @11:20AM (#29189651)
Once one gets old enough, you'll just get up and pee whenever something is slow on the computer.
Re:Gmail’s fake loading indicator (2020) by apricot on Thursday November 11, 2021 @12:52PM (#29190825)
I've been known to get up and code whenever something was too slow on the toilet.
Re:Gmail’s fake loading indicator (2020) by QuercusMax on Thursday November 11, 2021 @03:59PM (#29193097)
Or you can just drink too much coffee and la croix and have to pee all the time. :)
Re:Gmail’s fake loading indicator (2020) by jeffwask on Thursday November 11, 2021 @02:30PM (#29192069)
I sort of miss the 5 minute compile time coffee breaks.
Re:Gmail’s fake loading indicator (2020) by xg15 on Thursday November 11, 2021 @04:02PM (#29193150)
Then at least be so kind to ensure the spinner stops if there is an error.

I've seen enough spinners tgat will happily keep going if there is a network outage.

I think this is the difference between "communicating that there is still processing being done, even if I can't give a progress estimate" and - as you say - "keeping the user pacified". First one is helping the user, second one is really just a "not my problem anymore" asshole move.