nm-signal-* icons break nm-applet

Bug #767186 reported by Chris Coulson on 2011-04-20
38
This bug affects 6 people
Affects Status Importance Assigned to Milestone
ubuntu-mono (Ubuntu)
Low
Mathieu Trudel-Lapierre

Bug Description

Binary package hint: ubuntu-mono

With the default icon theme in Ubuntu, nm-applet constantly spams ~/.xsession-errors with this error:

GdkPixbuf-CRITICAL **: gdk_pixbuf_composite: assertion `dest_y >= 0 && dest_y + dest_height <= dest->height' failed

This is occuring when it overlays the lock icon with the signal strength icon, and occurs because the height of the desination pixbuf (the signal strength icon) is less than the 16 pixels height of the lock icon being composited on to it.

The reason this happens is because nm-applet loads the icons with gtk_icon_theme_load_icon and passes size=16. Because the nm-signal-*.svg icons in /usr/share/icons/ubuntu-mono-dark/status/16 are actually 20x16 or 22x16 (rather than square), GTK scales these down to 16x13 or 16x12 respectively.

Related branches

Chris Coulson (chrisccoulson) wrote :

Basically, nm-applet doesn't really care about the actual size of the icon, but the dimensions of all the nm-signal-* icons *must* be identical to the dimensions of nm-secure-lock

Changed in ubuntu-mono (Ubuntu):
importance: Undecided → Low
status: New → Triaged
milestone: none → natty-updates
Changed in ubuntu-mono (Ubuntu):
status: Triaged → In Progress
assignee: nobody → Mathieu Trudel-Lapierre (mathieu-tl)
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-mono - 0.0.30

---------------
ubuntu-mono (0.0.30) natty; urgency=low

  * Drop extra nm-vpn-connecting* animation icons from status/ directories,
    they don't belong in there anyway.
  * Reinstate vpn padlock composited in VPN connecting animation. (LP: #746674)
  * Resize/rescale nm-applet's 16px signal level icons. (LP: #767186)
 -- Mathieu Trudel-Lapierre <email address hidden> Thu, 21 Apr 2011 11:14:39 -0400

Changed in ubuntu-mono (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers