nm-applet icon blurry on 25+ pixel panel

Bug #439172 reported by Zac Barton
38
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Network Manager Applet
Unknown
Wishlist
Ubuntu network, Bluetooth, keyboard menus
Invalid
Undecided
Unassigned
gtk+2.0 (Ubuntu)
Invalid
Low
Unassigned
network-manager-applet (Ubuntu)
Invalid
Wishlist
Unassigned

Bug Description

When resizing the panel to 25 pixels the nm-applet icon become blurry.

Revision history for this message
Zac Barton (zacbarton) wrote :
Revision history for this message
Vish (vish) wrote :

The icon was designed to work with the default 24px panel or smaller... there are 24px and 22px icons for this
If the panel is resized to bigger sizes, it is bound to cause blurriness due to the scalling.

Not sure how this can be fixed in the theme. any ideas?

Changed in humanity:
status: New → Incomplete
Revision history for this message
Vish (vish) wrote :

BTW , all themes only provide 24px and 22px icons for this icon.
So the nm applet icon will be blurry in all themes when panel resized to larger sizes ,
The only factor here is that the Humanity icons are displayed very crisp when used with panel sizes 24 and below ,and hence when panel is made bigger you'll notice the difference. the difference quickly

Changed in humanity:
assignee: nobody → mac_v (drkvi-a)
Revision history for this message
Vish (vish) wrote :

BTW , all themes only provide 24px and 22px icons for this icon.
So the nm applet icon will be blurry in all themes when panel resized to larger sizes ,
The only factor here is that the Humanity icons are displayed very crisp when used with panel sizes 24 and below ,and hence when panel is made bigger you'll notice the difference quickly

Revision history for this message
Vish (vish) wrote :

This bug is an upstream one and it would be quite helpful if somebody experiencing it could send the bug the to the people writing the software. You can learn more about how to do this for various upstreams at https://wiki.ubuntu.com/Bugs/Upstream. Thanks in advance!

Revision history for this message
Vish (vish) wrote :

This is more of an nm-applet bug. since the other icons power, volume , are not affected by this. They also use the same 24px icons. But the blurriness arises only with nm-applet.

Changed in network-manager-applet (Ubuntu):
status: New → Confirmed
Revision history for this message
Alexander Sack (asac) wrote :

nm just uses gtk_icon_theme_load_icon and passes the current screen size in there. If that behaviour is different to what gpm does (gtk_status_icon_set_from_name) then it feels like an inconsistent handling of size -> icon theme in those too places.

Changed in gtk+2.0 (Ubuntu):
status: New → Confirmed
Revision history for this message
Alexander Sack (asac) wrote :

applet could arguably use the "from_name" approach too rather than loading the pixbuf with a size hint and then setting that ... but that would be working around a gtk bug.

Changed in network-manager-applet (Ubuntu):
status: Confirmed → Invalid
Changed in network-manager-applet:
status: New → Invalid
Changed in gtk+2.0 (Ubuntu):
importance: Undecided → Low
Revision history for this message
oscrp (oscarrb) wrote :

Same problem here, but it's not only with the ubuntu default theme. For example I'm using gnome-colors on karmic and the icon looks very odd with a 32px panel. I think I've been experiencing this bug from jaunty or intrepid, it really makes the notification area really ugly!

Revision history for this message
Vish (vish) wrote :

@Andreas Nilsson :
Could you comment on this bug? I believe the bug is in the nm-applet , and it is not a gtk bug...
This blurriness is also seen in the gnome3.0
And arises only with nm applet with all icon themes , which have icons for the wireless nm-applet.
While none of the icons for other applets blur.

Revision history for this message
Kenneth Wimer (kwwii) wrote :

This is not a bug in any icon theme (I'd point to nm-applet)

Revision history for this message
Vish (vish) wrote :

asac , From > http://developer.gimp.org/api/2.0/gtk/GtkIconTheme.html#gtk-icon-theme-load-icon :
"Looks up an icon in an icon theme, scales it to the given size "
nm is surely using the wrong icon call.
Not sure how this is a gtk bug. the gtk is just scaling the icon since it is asked to.

BTW , why doesn't the nm applet scale the default icon? [the one provided by nm in the hicolor folder] that icon always stays the constant size and doesnt change.

Changed in humanity:
assignee: mac_v (drkvi-a) → nobody
status: Incomplete → Invalid
Changed in network-manager-applet (Ubuntu):
status: Invalid → Confirmed
Vish (vish)
Changed in network-manager-applet:
importance: Undecided → Unknown
status: Invalid → Unknown
Changed in gtk+2.0 (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
C de-Avillez (hggdh2) wrote :

Marking Triaged/Wishlist per Vish's request

Changed in network-manager-applet (Ubuntu):
importance: Undecided → Wishlist
status: Confirmed → Triaged
Changed in network-manager-applet:
importance: Unknown → Wishlist
affects: humanity → ubuntu-indicator-mods
Changed in ubuntu-indicator-mods:
status: Invalid → New
Revision history for this message
Olli Ries (ories) wrote :

is resizing the panel still possible in 12.04?

Changed in ubuntu-indicator-mods:
status: New → Incomplete
no longer affects: ayatana-design
John Lea (johnlea)
Changed in ubuntu-indicator-mods:
status: Incomplete → Invalid
Changed in network-manager-applet (Ubuntu):
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.