GNOME Bugzilla – Bug 665112
Wired icon is shown even when wired connection is disabled
Last modified: 2011-12-01 10:07:22 UTC
The gnome-shell top bar shows wired connection icon even when I turn the wired connection off using the toggle (see screen1). The icon switches to wifi connection icon only after I manually unplug the cable (see screen2). I believe the top bar should should wifi icon when wifi is on and wired is off, even when the cable is still plugged in. Because the system is using only wifi at that moment. Fedora 16, Gnome 3.2
Created attachment 202354 [details] wired off, but showing wired icon
Created attachment 202355 [details] cable unplugged and finally showing wifi icon
This is definitely unexpected. Do you see anything suspicious in .xsession-errors, that could have prevented the icon update?
Great call. I do. When I turn Wired off, this pops up in .xsession-errors: JS ERROR: !!! Exception was: Error: Error invoking NMClient.disconnect: Invalid callback given for argument callback JS ERROR: !!! lineNumber = '0' JS ERROR: !!! fileName = '"gjs_throw"' JS ERROR: !!! stack = '"("Error invoking NMClient.disconnect: Invalid callback given for argument callback")@gjs_throw:0 ()@/usr/share/gnome-shell/js/ui/status/network.js:371 ([object _private_Clutter_Event])@/usr/share/gnome-shell/js/ui/status/network.js:232 ([object _private_Shell_GenericContainer],[object _private_Clutter_Event])@/usr/share/gnome-shell/js/ui/popupMenu.js:81 "' JS ERROR: !!! message = '"Error invoking NMClient.disconnect: Invalid callback given for argument callback"' I disabled all extensions and restarted gnome-shell, still the same message. gnome-shell-3.2.1-2.fc16.x86_64, Fedora 16
By the way when I turn Wired off, I can't turn it on again, unless I unplug cable, wait 10 seconds (until 'cable disconnected' message appears), plug in back again. It may be related.
(In reply to comment #4) > Great call. I do. When I turn Wired off, this pops up in .xsession-errors: > > JS ERROR: !!! Exception was: Error: Error invoking NMClient.disconnect: > Invalid callback given for argument callback > JS ERROR: !!! lineNumber = '0' > JS ERROR: !!! fileName = '"gjs_throw"' > JS ERROR: !!! stack = '"("Error invoking NMClient.disconnect: Invalid > callback given for argument callback")@gjs_throw:0 > ()@/usr/share/gnome-shell/js/ui/status/network.js:371 > ([object > _private_Clutter_Event])@/usr/share/gnome-shell/js/ui/status/network.js:232 > ([object _private_Shell_GenericContainer],[object > _private_Clutter_Event])@/usr/share/gnome-shell/js/ui/popupMenu.js:81 > "' > JS ERROR: !!! message = '"Error invoking NMClient.disconnect: Invalid > callback given for argument callback"' Ow... this is a NetworkManager bug, which was fixed not long ago. You should move this bug downstream and ask for an updated version, including the changes in git commit a7f7e808. (The first release to include that change is 0.9.2, which you can find packaged for F16 in koji but not yet in updates. This means that this bug could be already resolved in the next update to NetworkManager)
*** Bug 665226 has been marked as a duplicate of this bug. ***
I can confirm this is fixed with NM 0.9.2. I requested update in F16: https://bugzilla.redhat.com/show_bug.cgi?id=759039 Thank you.