software sources window takes long time to open with little user feedback
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-properties (Ubuntu) |
Fix Released
|
Low
|
Sami Jaktholm |
Bug Description
I'm using Lubuntu 12.10 in a VirtualBox VM.
Run Software Updater. When the main window opens, click the Settings... button at the bottom left. The settings window takes several seconds to appear, and other than the main window contents being greyed out, there is no indication that anything is happening. (The CPU appears to be maxed-out until the settings window opens, so the delay would probably be much longer on slower machines.)
It would be good if a busy mouse pointer could be set, so the user knows something is happening, instead of possibly thinking that Software Updater has hung/locked up.
Each time you click Settings... there is the same long delay while the CPU is maxed-out doing whatever it's doing. Would it be possible to cache whatever is being calculated in order to open the settings window? Then if the user selects Settings... again in the same session, the settings window could appear almost immediately.
Another optimisation could be made for the delay after the user dismisses the settings window. If you close the settings window without making any changes, the CPU is again maxed-out for a few seconds before the Software Updater window is un-greyed-out. Since no changes were made, it should be possible for the Software Updater window to immediately become responsive in that case.
This is similar to bug 1070868 but from a different starting point. Fixing bug 780776 would be one way of fixing this bug.
Related branches
- Ubuntu Core Development Team: Pending requested
-
Diff: 126 lines (+47/-6)1 file modifiedsoftwareproperties/gtk/SoftwarePropertiesGtk.py (+47/-6)
- No reviews requested
Changed in update-manager (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
affects: | update-manager (Ubuntu) → software-properties (Ubuntu) |
Changed in software-properties (Ubuntu): | |
importance: | Medium → Undecided |
status: | Confirmed → New |
summary: |
- Software Updater settings window takes long time to open with little - user feedback + software sources window takes long time to open with little user + feedback |
description: | updated |
Changed in software-properties (Ubuntu): | |
status: | New → Confirmed |
Changed in software-properties (Ubuntu): | |
status: | Confirmed → Fix Committed |
Changed in software-properties (Ubuntu): | |
status: | Fix Committed → Confirmed |
Changed in software-properties (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in software-properties (Ubuntu): | |
status: | Fix Released → Triaged |
tags: | added: raring |
tags: | added: quantal |
Changed in software-properties (Ubuntu): | |
assignee: | nobody → Sami Jaktholm (sjakthol) |
status: | Triaged → In Progress |
Changed in software-properties (Ubuntu): | |
importance: | Undecided → Low |
Changed in software-properties (Ubuntu): | |
status: | In Progress → Fix Committed |
Software Properties seem to spend most of the startup in the driver detection code: from a total of 9.2 seconds detect. system_ device_ drivers takes 7.2 seconds.