After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 666151 - Wireless networks list not correctly repopulated after suspend/resume or off/on wireless
Wireless networks list not correctly repopulated after suspend/resume or off/...
Status: RESOLVED OBSOLETE
Product: gnome-shell
Classification: Core
Component: network-indicator
3.2.x
Other Linux
: Normal major
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2011-12-14 10:15 UTC by James
Modified: 2015-02-27 04:00 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description James 2011-12-14 10:15:12 UTC
After a suspend/resume cycle, or turning the wireless hardware off and back on again, the list of networks in the Network panel applet is incomplete or inaccurate.

For example, after deactivating and then reactivating wlan0, the list has only one wireless network. On the other hand, nm-tool reports all six that there should be.

This is with gnome-shell-3.2.1-2.fc16.x86_64, and wasn't a problem on Gnome 3.0.
Comment 1 James 2011-12-14 10:25:20 UTC
Should add that this does not happen consistently, but often. (Working OK this time round.) Restarting Gnome Shell correctly repopulates the list in those cases.

I've found the following in .xsession-errors, which may be correlated with an incomplete networks list:


** (nm-applet:15212): WARNING **: _nm_object_get_property: Error getting 'Defaul
t' for /org/freedesktop/NetworkManager/ActiveConnection/5: (19) Method "Get" wit
h signature "ss" on interface "org.freedesktop.DBus.Properties" doesn't exist



** (nm-applet:15212): WARNING **: _nm_object_get_property: Error getting 'Defaul
t' for /org/freedesktop/NetworkManager/ActiveConnection/5: (19) Method "Get" wit
h signature "ss" on interface "org.freedesktop.DBus.Properties" doesn't exist


    JS ERROR: !!!   Exception was: TypeError: apObj is null
    JS ERROR: !!!     lineNumber = '1306'
    JS ERROR: !!!     fileName = '"/usr/share/gnome-shell/js/ui/status/network.j
s"'
    JS ERROR: !!!     stack = '"([object _private_NMClient_DeviceWifi],[object _
private_NMClient_AccessPoint])@/usr/share/gnome-shell/js/ui/status/network.js:13
06
"'
    JS ERROR: !!!     message = '"apObj is null"'
    JS ERROR: !!!   Exception was: TypeError: apObj is null
    JS ERROR: !!!     lineNumber = '1306'
    JS ERROR: !!!     fileName = '"/usr/share/gnome-shell/js/ui/status/network.j
s"'
    JS ERROR: !!!     stack = '"([object _private_NMClient_DeviceWifi],[object _
private_NMClient_AccessPoint])@/usr/share/gnome-shell/js/ui/status/network.js:13
06
"'
    JS ERROR: !!!     message = '"apObj is null"'
    JS ERROR: !!!   Exception was: TypeError: apObj is null
    JS ERROR: !!!     lineNumber = '1306'
    JS ERROR: !!!     fileName = '"/usr/share/gnome-shell/js/ui/status/network.j
s"'
    JS ERROR: !!!     stack = '"([object _private_NMClient_DeviceWifi],[object _
private_NMClient_AccessPoint])@/usr/share/gnome-shell/js/ui/status/network.js:13
06
"'
    JS ERROR: !!!     message = '"apObj is null"'
    JS ERROR: !!!   Exception was: TypeError: apObj is null
    JS ERROR: !!!     lineNumber = '1306'
    JS ERROR: !!!     fileName = '"/usr/share/gnome-shell/js/ui/status/network.j
s"'
    JS ERROR: !!!     stack = '"([object _private_NMClient_DeviceWifi],[object _
private_NMClient_AccessPoint])@/usr/share/gnome-shell/js/ui/status/network.js:13
06
"'
    JS ERROR: !!!     message = '"apObj is null"'
Comment 2 Giovanni Campagna 2011-12-14 10:50:55 UTC
The JS errors were fixed in bug 659277.
I don't know about the Default property not being there, seems a problem in libnm-glib...
Comment 3 James 2011-12-14 11:08:41 UTC
OK, I'll try that patch. (Will it be in a future update to 3.2?) I've also applied the patches from bug 664124, though I've no idea if that's really the same bug.
Comment 4 James 2011-12-14 11:15:34 UTC
(In reply to comment #3)
> OK, I'll try that patch. (Will it be in a future update to 3.2?) I've also
> applied the patches from bug 664124, though I've no idea if that's really the
> same bug.

OK, well I've just deactivated and reactivated wlan0 (I think this fails more reliably if it's left deactivated for a few minutes), and now there are no networks in the list. (Seven show up with nm-tool.) Looks like none of those patches fix this, so I'll revert to the package-original for the time being.

No JavaScript (or any other) errors reported, however.
Comment 5 James 2011-12-16 17:52:49 UTC
The fallback nm-applet appears to behave itself (synced with nm-tool).
Comment 6 Florian Müllner 2015-02-27 04:00:36 UTC
The network menu has seen major rewrites since the bug was filed, so it is highly unlikely that there is any information here that is still relevant to current issues.