Comment 6 for bug 945536

Sami Jaktholm (sjakthol) wrote :

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).