Unable to move back from storage to mirror screen when certain conditions are met
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
subiquity |
Triaged
|
Low
|
Unassigned |
Bug Description
when testing semi offline installs, I ended up triggering a bug which prevents the user from going back from the Storage screen.
The order of the screens is "... -> Mirror -> Refresh -> Storage -> ...".
After moving from Mirror to Storage, hitting Back moves us the Refresh page again ; which in certain circumstances does not display a UI and instead moves forward to the Storage screen automatically.
https:/
Steps to reproduce:
* Do a fully offline install
* If the Refresh screen shows a "Contacting the snap store..." animation, let it timeout.
* Then press back when on the Storage screen
* Let the Refresh screen timeout again
* Then press back ... This time it looks like nothing happened, because the refresh screen moved us forward again.
This is affecting https:/
Changed in subiquity: | |
importance: | Undecided → Medium |
status: | New → Triaged |
importance: | Medium → Low |
Presumably, this is the code that automatically moves forward when status.availability = RefreshCheckSta te.UNKNOWN:
https:/ /github. com/canonical/ subiquity/ blob/979f546f27 fb8cfbfe9d0ac4f 763b86b49718d41 /subiquity/ ui/views/ refresh. py#L165