Torxed / archinstall_gui

Guided Arch Linux graphical installer
GNU General Public License v3.0
26 stars 1 forks source link

Long running "waiting for dependency" steps should notify the user #18

Open Torxed opened 4 years ago

Torxed commented 4 years ago

Currently, users can skip a step manually by clicking around in the left hand menu. required steps will ping pong back the user to the first required step by traversing through the dependency steps.

But optional steps doesn't really have any requirements. But the chain of spawn() calls is in sequential order, meaning if a step is hard-skipped, the spawn() chain will fail. This is partially by design - but a step that hasn't been "chosen" or "skipped" via the panel, should notify the user about the current hold.

Example:

  1. Select a drive
  2. Skip encryption
  3. Skip mirrors (by using default)
  4. Manually skip Language by cliking on Profiles - not the save button in the language section
  5. Select a profile (for instance desktop.py) and wait for it to be queued.

This leaves Language unresolved forever, until the user goes back to language and presses skip or save. If all steps are in queued and doesn't release for ~5 seconds, the user should be notified of which step is hanging (in this case, Language) to make it more clear that user interaction is needed.