[Bug 689741] [NEW] libgtk2.0-0 performance problem due to unused cruft from 10 years ago

Launchpad Bug Tracker 689741 at bugs.launchpad.net
Wed Dec 15 09:14:35 GMT 2010


You have been subscribed to a public bug by Sebastien Bacher (seb128):

Binary package hint: libgtk2.0-0


After discussions with Owen Taylor it was found that GTK+ has a
longstanding performance problem in cases where a program has a large
number of GTK+ widgets on a window.

https://bugzilla.gnome.org/show_bug.cgi?id=637155
https://bugzilla.gnome.org/show_bug.cgi?id=637156

Removing  gtk_widget_reset_shapes() from the
gtk_widget_set_style_internal() function in gtkwidget.c and
rebuilding.reinstalling GTK+ results in a SIGNIFICANT performance
improvement for applications which use a large number of widgets with
GtkWindows.

Patch attached for  gtk+2.0_2.20.0-0ubuntu4, for ubuntu 10.04, however
this bug applies to all GTK+ versions.

Source:  gtk+2.0_2.20.0-0ubuntu4

Distro tested on: Ubuntu 10.04,  however this bug is present in ALL GTK+
versions

apt-cache policy libgtk2.0-0
libgtk2.0-0:
  Installed: 2.20.1-0ubuntu2
  Candidate: 2.20.1-0ubuntu2
  Version table:
 *** 2.20.1-0ubuntu2 0
        500 http://mirrors.ccs.neu.edu/ubuntu/ lucid-updates/main Packages
        100 /var/lib/dpkg/status
     2.20.0-0ubuntu4 0
        500 http://mirrors.ccs.neu.edu/ubuntu/ lucid/main Packages

Without this patch, GTK+ applications with a large number of widgets
with GtkWindows will suffer higher CPU usage, and significantly slower
performance.

** Affects: gtk+2.0 (Ubuntu)
     Importance: Low
         Status: Triaged


** Tags: patch-forwarded-upstream
-- 
libgtk2.0-0 performance problem due to unused cruft from 10 years ago
https://bugs.launchpad.net/bugs/689741
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is a direct subscriber.



More information about the Ubuntu-sponsors mailing list