Progress bar restarts from zero after copying files

Bug #732634 reported by Matthew Paul Thomas
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
In Progress
Medium
Mathieu Trudel-Lapierre

Bug Description

Ubuntu Natty alpha 3
Ubuntu 12.10

When the installer is "Copying files", the installation progress bar fills up completely. When the copying has finished, the progress bar restarts from zero. This makes it much less useful, as it raises the possibility that the progress bar will restart from zero again some unknown number of times.

This was verified in usability testing of the Ubuntu 12.10 installer: three of three participants were surprised that the progress bar restarted from zero. For example: "The installation process is nearly finished, about 75%. Installing system? I’m actually taken to a new thing, I didn’t expect that. It will be nice to tell me the process. I don’t know how many stages, very frustrating, as I thought it was done. Then something else shows up."

Instead, the installation steps should be allocated estimated fractions of the progress bar so that it fills only once for the entire installation.

Tags: usability
Revision history for this message
Evan (ev) wrote :

This is complicated by a number of things, chief among them debconf's inflexibility with respect to nested progress and the handoff between the core file copy phase (install.py) and the subsequent configuration phase (plugininstall.py).

Changed in ubiquity (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Matthew Nuzum (newz) wrote :

How about giving the user a hint of how many times the progress bar will restart then? It's not ideal but it's better.

70% complete of step 1 of 2
[############ ]

Revision history for this message
Matthew Paul Thomas (mpt) wrote :

Milestoned after discussion with Evan.

The proper solution is apparently to teach debconf that its progress value is sometimes only for a subtask of a larger task.

A hack solution would be:
- during the first stage, take 0% and add half of the debconf progress value
- during the second stage, take 50% and add half of the debconf progress value.

Changed in ubiquity (Ubuntu):
milestone: none → ubuntu-11.10-beta-1
Martin Pitt (pitti)
Changed in ubiquity (Ubuntu):
milestone: ubuntu-11.10-beta-1 → ubuntu-11.10-beta-2
Dave Walker (davewalker)
Changed in ubiquity (Ubuntu):
milestone: ubuntu-11.10-beta-2 → ubuntu-11.10
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

I can see that nested progress bar support was introduced in bug 530027.

To me the progress bar has several restarts:
- partitioning resets it back to 0 multiple times
- copying files stage
- "the rest" aka plugininstall

There are possibly additional progress bars that could be launched.

Looking at the logs it's hard to see which progress bars are nested and which are not.

My idea is to take typical install, look at the times and approximately spit the progress bar to get both even and approximately smooth progress bar. It will go through faster & slower sections, but should be ok.

description: updated
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

I have a partial solution for this.

Changed in ubiquity (Ubuntu):
status: Confirmed → In Progress
assignee: nobody → Dmitrijs Ledkovs (xnox)
milestone: ubuntu-11.10 → ubuntu-13.04-feature-freeze
Revision history for this message
Colin Watson (cjwatson) wrote :

This bug is mostly full of misinformation; the PROGRESS REGION extension has existed in ubiquity since before it was even called ubiquity. I suspect something is just breaking the protocol stream slightly.

tags: added: usability
Changed in ubiquity (Ubuntu):
assignee: Dimitri John Ledkov (xnox) → Mathieu Trudel-Lapierre (mathieu-tl)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.