[Bug 1073728] Re: software sources window takes long time to open with little user feedback
Mark
1073728 at bugs.launchpad.net
Mon Dec 10 12:57:23 UTC 2012
Just as a point of reference I timed the opening of software-properties-
gtk on Lubuntu 11.10.
I initially ran software-properties-gtk a couple of times before timing
it. Timing consisted of running the command below, clicking the Cancel
button as soon as it appeared. With Core 2 Duo T8100 2.1GHz CPU I got
# time software-properties-gtk
gpg: /tmp/tmpwGGX4v/trustdb.gpg: trustdb created
real 0m0.999s
user 0m0.704s
sys 0m0.084s
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/1073728
Title:
software sources window takes long time to open with little user
feedback
Status in “software-properties” package in Ubuntu:
Confirmed
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1073728/+subscriptions
More information about the foundations-bugs
mailing list