network-manager-gnome does not depend on gnome-icon-theme

Bug #416341 reported by Arto Karppinen
72
This bug affects 12 people
Affects Status Importance Assigned to Milestone
network-manager-applet (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: network-manager-gnome

I installed nm-applet to my kubuntu-9.04 because it is more space efficient than the KDE plasma applet, however, i noticed that some icon were missing from the nm-applet menu. After some detective work i discovered that nm-applet uses one of these in the menu:

/usr/share/icons/gnome/16x16/status/gnome-dev-wavelan-encrypted.png
/usr/share/icons/gnome/22x22/status/gnome-dev-wavelan-encrypted.png
/usr/share/icons/gnome/24x24/status/gnome-dev-wavelan-encrypted.png

Revision history for this message
Victor Vargas (kamus) wrote :

Since this report have a long time without activity, please could you check (if is possible) in latest version included in Karmic if this issue is still happening? Thanks in advance.

Changed in network-manager-applet (Ubuntu):
status: New → Incomplete
Revision history for this message
Petru (becheru-petru-ioan) wrote :

confirmed in maverik

Changed in network-manager-applet (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Petru (becheru-petru-ioan) wrote :

output when gnome-icon-theme is not installed:
<code>
** Message: applet now removed from the notification area
** (nm-applet:3621): DEBUG: old state indicates that this was not a disconnect 0

** (nm-applet:3621): WARNING **: Fallback icon 'gtk-dialog-error' missing: (0) Icon 'gtk-dialog-error' not present in theme
**
ERROR:applet.c:2932:nma_icons_reload: assertion failed: (applet->fallback_icon)
</code>

Revision history for this message
Petru (becheru-petru-ioan) wrote :

FIX:
Because network-manager-appler should depend on:
 - gnome-icon-theme and
 - tango-icon-theme
install this two packages and the icons will show!

Revision history for this message
molecule-eye (niburu1) wrote :

I had this problem only when updating Kubuntu 10.04 to 10.10 RC. I installed both gnome-icon-theme and tango-icon-theme (even to the local directory ~/.icons too) but it didn't work. I still get the error when trying to load nm-applet. I verified that the icons listed in the original bug post exist. I even renamed the /usr/share/icons/Tango folder to /use/share/icons/tango (lowercase 't') just in case. I also restarted my computer after installing the packages just to be on the safe side.

Regarding my error message (below) I checked and the icon /usr/share/icons/gnome/16x16/gtk-dialog-error.png exists (also for 22x22, etc.) So what's the problem?

My full error message:

** Message: applet now removed from the notification area
** Message: applet now embedded in the notification area

** (nm-applet:3416): WARNING **: Fallback icon 'gtk-dialog-error' missing: (0) Icon 'gtk-dialog-error' not present in theme
**
ERROR:applet.c:2932:nma_icons_reload: assertion failed: (applet->fallback_icon)
Aborted
+

Revision history for this message
Pattrick Hueper (phueper) wrote :

I had this problem when updating to Kubuntu 10.10. I did install gnome-icon-theme and tango-icon-theme.
However, the problem persisted.
My full error message:

nm-applet
** Message: applet now removed from the notification area
** (nm-applet:4095): DEBUG: old state indicates that this was not a disconnect 0

** (nm-applet:4095): WARNING **: Fallback icon 'gtk-dialog-error' missing: (0) Icon 'gtk-dialog-error' not present in theme
**
ERROR:applet.c:2932:nma_icons_reload: assertion failed: (applet->fallback_icon)
Aborted

Using strace i found, that it was trying to find gtk-dialog-error in hicolor theme and it was not available in /usr/share/icons/hicolor.

My ugly workaround:

As root user do:

cd /usr/share/icons/Tango/
find . -iname "gtk-dialog-error*" | while read i ; do echo $i; cp $i ../hicolor/$i; done
gtk-update-icon-cache -f /usr/share/icons/hicolor/

After this nm-applet was able to find gtk-dialog-error in hicolor theme.

Revision history for this message
Aleksey Porfirov (lexqt) wrote :

My workaround (for Kubuntu 10.10 with Oxygen theme) was to create packages with special symbolic links to different icons.
I just copied all symbolic links (they all have relative path linkage) from Tango theme, removed some intersections with Oxygen theme and built deb package.
There are a lot of unnecessary and maybe wrong links in there. However nm-applet got all necessary icons.
_
Package attached.

Revision history for this message
Aleksey Porfirov (lexqt) wrote :

I forgot to attach second package adding one missing icon in Oxygen theme.
___
These two packages solve the problem with nm-applet in Kubuntu 10.10 with default Oxygen theme. You can rebuild packages for your theme (just change "Depends" in DEBIAN/control and path ./usr/share/icons/<your_theme>/*).

Revision history for this message
molecule-eye (niburu1) wrote :

I followed Patrick's advice and while nm-applet at least loads, there is no icon shown in my system tray. If I click on the invisible space where the icon is supposed to be, everything works fine. It's not ideal but for now it's good enough for me.

Revision history for this message
Marco (curati-marco) wrote :

The workaround doesn't work for me in kubuntu 10.10. i am able to see the icon only if i change the icon theme to humanity or ubuntu mono. if i use oxygen i am not able to load the nm-applet anymore. what can i do to solve the problem?

Revision history for this message
kay (kay-diam) wrote :

I have the same issue in Gnome environment.

Revision history for this message
Petru (becheru-petru-ioan) wrote :

if you use oxygen-molecule theme the bug shows up even if you have gnome-icon-theme and tango-icon-theme installed!

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.