GNOME Bugzilla – Bug 708771
Wrong wireless icon during VPN connection
Last modified: 2014-11-18 18:48:53 UTC
A laptop connected to wireless indicates the correct network wireless symbol in the top bar. As soon as a VPN connection is established the wireless symbol turns into a not-connected symbol. See attached screenshot. Expected behavior would be to show wireless connected symbol and vpn symbol.
Created attachment 255707 [details] Screenshot showing the wrong network symbol
Thank you for your bug report. Can you run the following commands from the looking glass, while the wrong icon is showing? Main.panel.statusArea.aggregateMenu._network._getMainConnection() Main.panel.statusArea.aggregateMenu._network._getMainConnection()._primaryDevice
At first i checked the output when only wifi is connected: * getMainConnection() is valid * getMainConnection()._primaryDevice indicates object.NMDeviceWireless After connecting to VPN the output is: * getMainConnection() is null * obviously the result of primaryDevice is an exception
(In reply to comment #3) > After connecting to VPN the output is: > > * getMainConnection() is null Mh? So why doesn't NetworkManager report a connection in that case?
So whats next? How can we solve this bug? Who is responsible?
File a bug or try to debug with the NM developers.
Yeah that's why i filled this one :) So you are saying that you are using the API of NM and the problem must be within NM? It's not a self-written binding to NM, correct?
(In reply to comment #7) > Yeah that's why i filled this one :) So you are saying that you are using the > API of NM and the problem must be within NM? It's not a self-written binding to > NM, correct? Yes, we're using libnm-glib, which is provided togheter with NetworkManager.
I don't know if this is the right place but I wanted to add, that in my case this problem also occurs using cable connections! Everything's fine, when cable connection established, but once the vpn is connected, the "not connected"-icon appears, although everything works just fine! * _getMainConnection(): [object instance proxy GIName:NMClient.ActiveConnection jsobj.....] * _getMainConnection()._primaryDevice: undefined After connection to VPN: * _getMainConnection(): null * _getMainConnection()._primaryDevice: <NullPointerException>
I see the same problem in 3.10.
Jan, can you provide a link to the NetworkManager bug? Thanks.
Didn't seem to be one... https://bugzilla.gnome.org/show_bug.cgi?id=722477
I can no longer reproduce this behavior, therefore we can close this bug...
Excellent!