Elektrine lite

← Feed

@hughsie@mastodon.social

Post #1287406

2026-04-16 10:07 UTC

What do you want to see in the fwupdmgr CLI when there's a long (5 minutes+) delay? Showing a progress bar means it's "stuck" on a specific character block for some time, and it'd would be easy to think that the process has hung. A spinner that goes back and forth with some kind of time estimation? Anything better?

Replies (7)

  • @hughsie@mastodon.social 2026-04-16 16:06

    Part 1 of 3 complete...

    Open ##1291879

  • @nikslor@mastodon.social 2026-04-16 10:24

    @hughsie something that moves or spins with information about what is going on "Waiting on xyz.." would be my suggestion. Thanks for your tireless work!

    Open ##1291881

  • @hughsie I think a spinning character at the head of the progress bar makes sense (e.g. "| / — \"), but it would also be cool to see if some indication of 'what was mostly happening' was in a bracket at the head of the bar: [=====[wait device] ]

    Open ##1291882

  • @johannbg@mastodon.social 2026-04-16 12:42

    @hughsie given that I have seen users stuck in a manually triggered restart loop due to fsck that was being run automatically at boot time, hidden behind a splash screen, an clear indication that it's still working not stuck is definitely needed. User will press a button if things take too long. The classic...

    Open ##1291883

  • @blub@norden.social 2026-04-16 13:09

    @hughsie IMHO Spinners are useless most of the time, AS thry just simulate actions (even if backderoundtask died). Numbers are cool IMHO but of course there is more: https://progressbar-2.readthedocs.io/en/latest/

    Open ##1291884

  • @vathpela@infosec.exchange 2026-04-16 16:30

    @hughsie ` ( ) (@@) ( ) (@) () @@ O @ O @ O (@@@) ( ) (@@@@) ( ) ==== ________ ___________ D _| |____/ __I_I__===|_____| |()--- | H___/ | | =| | ______________ / | | H | | | | ||| ||| | ___A | | | H |--------------------| [] | =| | | ___|H_/|_/[][]~_| | -| | |/ | |-----------II [][] [] D |=======||___________________| _/ =| o |=-O===O=O===O \ _Y__________||______________________| |/-=||= || || || |___/~_/ |_DDD| |DDD| _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ `

    Open ##1291889

  • @neal@social.gompa.me 2026-04-17 11:50

    @hughsie To be honest, I like the bouncing progress thing (also known as a "progress-less bar") for stuff like that.

    Open ##1291891