4 ms·
Complex flows can be represented by a tree control full of checkboxes that tick off for things that are done, which can be hidden behind a "show details ..." bu
by kazinator 6y ago
Complex flows can be represented by a tree control full of checkboxes that tick off for things that are done, which can be hidden behind a "show details ..." button next to a regular progress bar. If the users can see the detailed tasks, maybe they will be less ticked off by a jumpy progress bar.
- fomine3 6y agoOr just show verbose logs like Apt GUI frontend.
- kazinator 6y agoProblem with just logging the progress is that the user has no idea where he "bottom" is. A log might as well be a spinning cursor or any other animation.
- yellowapple 6y agoIt's invaluable from a troubleshooting perspective, though. "Hmm, it always seems to get stuck when installing this particular package"
- cgriswald 6y agoThis is the most infuriating part of progress bars to me. When it hangs I don’t even have a jumping off point for Google. I can only search “foo hangs during install” which almost always results in issues that are not the problem I’m experiencing because usually the most common reason isn’t the reason the majority of the time. “Foo hangs during ‘reticulating splines’” usually has far more useful results.
- yyx 6y agoHad problem when GUI closed after trying to install a package. No error, no logs. (or was it defaulting to the normal state with install button and no logs, I don't remember) Found out about package conflict only after running apt from the terminal.
- admax88q 6y agoIf you can reliably break down your complex flow into a tree of checkboxes, you could just as easily render a truthful progress bar based upon how many sub tasks are done.
- eru 6y agoYes, but that bar would still get hung intermittently whenever a specific task took a long time.
- karottenreibe 6y agoHow is the checkbox thing any different? If one task blocks progress, the tree also doesn't update
- eru 6y agoI don't know whether it _will_ be any different, but there was some speculation about that: > If the users can see the detailed tasks, maybe they will be less ticked off by a jumpy progress bar.
- TeMPOraL 6y agoContext. You see not just the thing currently executing, but also the things remaining to be executed - which allows you to mentally gauge which of them may slow down.
- coldtea 6y agoAt least I know what it is doing at the moment its blocked (and in many cases I can tell whether that is justified to take N time or not). With a progress bar I don't know anything.
- cbhl 6y agoA tree is insufficient for flows at $dayjob, you need a directed acyclic graph to handle fanout/parallelism. For which a visualization exists internally, but every time someone decides to "fix" the progress bar problem they do a one-off analysis and only wire up the three biggest steps to the bar.