This is bad as ever on 14.04. The current kernel updates have a > 10000
line changelog, and update-manager freezes around 20 seconds (on a quad-
core, 8 GB RAM desktop) before it refreshes the GUI when I click on
these packages.

I use the attached patch as a stop gap, it only lists up to 24 lines of
a changelog. A real fix is probably a bit more complex because of the
convoluted way the changelog is filtered and displayed. Maybe python
cannot do it efficiently enough, the match operations seem pretty slow
and limited and processing only line by line with all the hoops to get
the work done doesn't help.

The patch can be applied with: sudo patch /usr/lib/python3/dist-
packages/UpdateManager/UpdatesAvailable.py < update-manager-changelog-
slow-628657.patch

** Patch added: "stop gap measure, for irritation relief"
   
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/628657/+attachment/4178830/+files/update-manager-changelog-slow-628657.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/628657

Title:
  freezes for > 10s when displaying long changelogs

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to