[Bug 945536] Re: Excruciatingly slow package list onscreen update
sampo555
945536 at bugs.launchpad.net
Mon Apr 2 17:51:47 UTC 2012
This seems to be a problem with the Gtk. When self.store.clear() is
called, the items are removed one by one. When an item is selected and
it gets removed, the selection moves to the next item. This causes the
Gtk to send signal about changed selection (cursor-changed of
GtkTreeView) everytime the item with focus is removed.
Update manager invokes the on_treeview_update_cursor_changed function
which starts doing things like updating the description and fetching the
changelog and causes the lag. And when there's tons of updates to do,
this will take a lot of time.
Patch attached containing a workaround for the issue (works for me).
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/945536
Title:
Excruciatingly slow package list onscreen update
Status in “update-manager” package in Ubuntu:
Confirmed
Status in “update-manager” source package in Precise:
Confirmed
Bug description:
Update-manager seem to take something like 0.3s to refresh each
package in the list (when there is 343 updates, took about 3 min to
refresh the whole list).
To reproduce:
- with some updates waiting
- open update-manager
- click "Description of update" expander
- click on the check button
- wait for the update progress window to close
-> Watch the onscreen package list being slowly updated one package after the other.
Possible cause: extraneous list refresh function being called after
each addition/removal to the list
ProblemType: BugDistroRelease: Ubuntu 12.04
Package: update-manager 1:0.156.6
ProcVersionSignature: Ubuntu 3.2.0-17.26-generic 3.2.6
Uname: Linux 3.2.0-17-generic x86_64
ApportVersion: 1.93-0ubuntu2
Architecture: amd64
Date: Sat Mar 3 12:40:50 2012
DpkgHistoryLog.txt:
DpkgTerminalLog.txt:
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/update-manager
GsettingsChanges:
com.ubuntu.update-manager first-run false
com.ubuntu.update-manager launch-time 1330774583
com.ubuntu.update-manager show-details true
com.ubuntu.update-manager window-height 913
com.ubuntu.update-manager window-width 1173
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120201.2)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcEnviron:
LANGUAGE=en_US:en
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bashSourcePackage: update-manager
UpgradeStatus: Upgraded to precise on 2012-02-16 (16 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/945536/+subscriptions
More information about the foundations-bugs
mailing list