Bug#670890: libgtk-3-0: Smaller tray icons don't get rendered since GTK+ 3.4 upgrade
Fernando Tarlá Cardoso Lemos
fernandotcl at gmail.com
Mon Apr 30 02:26:44 UTC 2012
Package: libgtk-3-0
Version: 3.4.1-2
Severity: normal
Hi,
Since the upgrade to GTK+ 3.4, tray icons rendered in a tray area with less
than 18 pixels are broken. I noticed this on i3bar (from the i3-wm package),
but it's easily reproduced with the trayer program (in the archive too). This
works:
$ trayer --heighttype pixel --height 18
But this doesn't anymore:
$ trayer --heighttype pixel --height 17
Instead of the icon being rendered, I get a broken icon. Tested with both
nm-applet (from network-manager-gnome) and pa-applet (not packaged). I get
errors like this when launching either from a terminal:
(pa-applet:25338): GdkPixbuf-CRITICAL **: gdk_pixbuf_scale_simple: assertion
`dest_width > 0' failed
The only other GTK+ 3 program that can use a systray icon that I have
installed is transmission-gtk, and that seems to work somehow. I'm not sure
why, maybe the bug only affects programs that try to use default icons, not
icons provided by the program itself.
For the record, GTK+ 2 tray icons work properly, as do Qt tray icons.
I tried a different icon theme (Tango) as well as downgrading gnome-icon-theme
to 3.2.1-2, but still got the same problems. That's what led me to believe
it's indeed a problem in GTK+ 3.4 and not elsewhere.
I couldn't find any existing report in the upstream bug tracker. I found a
reference to the aforementioned error message[1]. There's also a bug report
in Launchpad, and it seems related[2].
Note that in [2] the user mentions i3 (i3bar is part of i3). i3bar is a very
thin panel, so most users end up with small tray icons. Other environments
usually provide taller panels. I think that's why the bug isn't affecting more
people.
Should I report this upstream?
[1]: https://bugzilla.gnome.org/show_bug.cgi?id=673749
[2]: https://bugs.launchpad.net/ubuntu/+source/gdk-pixbuf/+bug/927393
Thanks,
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libgtk-3-0 depends on:
ii libatk1.0-0 2.4.0-2
ii libc6 2.13-31
ii libcairo-gobject2 1.12.0-2.1
ii libcairo2 1.12.0-2.1
ii libcolord1 0.1.18-1
ii libcomerr2 1.42.2-2
ii libcups2 1.5.2-10
ii libfontconfig1 2.8.0-3.1
ii libfreetype6 2.4.9-1
ii libgcrypt11 1.5.0-3
ii libgdk-pixbuf2.0-0 2.26.1-1
ii libglib2.0-0 2.32.1-1
ii libgnutls26 2.12.18-1
ii libgssapi-krb5-2 1.10+dfsg~beta1-2
ii libgtk-3-common 3.4.1-2
ii libk5crypto3 1.10+dfsg~beta1-2
ii libkrb5-3 1.10+dfsg~beta1-2
ii libpango1.0-0 1.30.0-1
ii libx11-6 2:1.4.99.901-2
ii libxcomposite1 1:0.4.3-2
ii libxcursor1 1:1.1.13-1
ii libxdamage1 1:1.1.3-2
ii libxext6 2:1.3.1-2
ii libxfixes3 1:5.0-4
ii libxi6 2:1.6.0-1
ii libxinerama1 2:1.1.2-1
ii libxrandr2 2:1.3.2-2
ii multiarch-support 2.13-31
ii shared-mime-info 0.90-1
ii zlib1g 1:1.2.6.dfsg-2
Versions of packages libgtk-3-0 recommends:
ii hicolor-icon-theme 0.12-1
ii libgtk-3-bin 3.4.1-2
Versions of packages libgtk-3-0 suggests:
ii gvfs <none>
ii librsvg2-common 2.36.1-1
-- no debconf information
More information about the pkg-gnome-maintainers
mailing list