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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/945536

Title:
  Excruciatingly slow package list onscreen update

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/945536/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to