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 761027 - Ubuntu-GNOME - nm-applet icon just disappears when usb-tethering is active
Ubuntu-GNOME - nm-applet icon just disappears when usb-tethering is active
Status: RESOLVED OBSOLETE
Product: gnome-shell
Classification: Core
Component: network-indicator
unspecified
Other Linux
: Normal major
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2016-01-23 19:40 UTC by Prahlad Yeri
Modified: 2021-07-05 14:23 UTC
See Also:
GNOME target: ---
GNOME version: 3.9/3.10


Attachments
A screeshot of the issue. (5.02 KB, image/png)
2016-01-23 19:40 UTC, Prahlad Yeri
Details

Description Prahlad Yeri 2016-01-23 19:40:17 UTC
Created attachment 319593 [details]
A screeshot of the issue.

I don't actually use Ubuntu-GNOME distro, but rather, installed ubuntu-gnome-desktop package on the stock unity-based version of trusty. All other things are smooth after transition, except this one glitch. As soon as I connect my smart-phone and start USB tethering, the nm-applet icon in tray just disappears. Once I disconnect, however, the icon appears back (See attached screenshot).

The connection, however, happens smoothly despite the lack of tray icon. ifconfig returns the proper output.

I've also raised a question for this same thing on askubuntu, but haven't got any resolution yet:

http://askubuntu.com/questions/724687/ubuntu-gnome-nm-applet-icon-just-disappears-when-usb-tethering-is-active/724702?noredirect=1#comment1072654_724702
Comment 1 Thomas Haller 2016-01-24 15:30:27 UTC
first of all, 0.9.8 is very old and no longer supported upstream. Upstream released in the meantime 0.9.10 and 1.0.



Please confirm whether the icon you see is from nm-applet for from gnome-shell. For example, try to kill the applet with

   killall nm-applet

is the icon still there?




A disappearing icon indicates that the UI component crashed. Try running nm-applet in a terminal and observe what is printed when the icon disappears.
Comment 2 Prahlad Yeri 2016-01-25 09:06:37 UTC
Hi Thomas,

> first of all, 0.9.8 is very old and no longer supported upstream. Upstream released in the meantime 0.9.10 and 1.0.

But on my Ubuntu LTS, 0.9.8 is the latest which I can upgrade to.

> Please confirm whether the icon you see is from nm-applet for from gnome shell. For example, try to kill the applet with
>   killall nm-applet
> 
> is the icon still there?

Yes, you are right. "killall nm-applet" returns "no process found". But it is at least related to network-manager right? Are there any gsettings configuration or something which can fix this?
Comment 3 Jiri Klimes 2016-01-25 10:43:16 UTC
First, you should find out if it is a problem with an icon or nm-applet crashes. Please, try running nm-applet in a terminal and see if it crashes. If it is the case, runing it in debugger (gdb) and getting backtrace would help.
Comment 4 Prahlad Yeri 2016-01-25 11:43:05 UTC
Hey Jiri, I already tried running nm-applet in the terminal. It doesn't crash, but issues the following warning sometimes:

> nm-applet-Message: using fallback from indicator to GtkStatusIcon
> 
> ** (nm-applet:21185): WARNING **: Could not create object for /org/freedesktop> /NetworkManager/IP4Config/0: Method "GetAll" with signature "s" on interface "org.freedesktop.DBus.Properties" doesn't exist
> 
> ^Cnm-applet-Message: PID 0 (we are 21185) sent signal 2, shutting down...

Let me re-iterate that this is a visibility issue, the actual connection works flawlessly.
Comment 5 Thomas Haller 2016-01-26 12:20:56 UTC
(In reply to Prahlad Yeri from comment #2)

> > Please confirm whether the icon you see is from nm-applet for from gnome shell. For example, try to kill the applet with
> >   killall nm-applet
> > 
> > is the icon still there?
> 
> Yes, you are right. "killall nm-applet" returns "no process found". But it
> is at least related to network-manager right? Are there any gsettings
> configuration or something which can fix this?

if you fail to kill nm-applet, it means that you were not using nm-applet in the first place.



(In reply to Prahlad Yeri from comment #4)
> Let me re-iterate that this is a visibility issue, the actual connection
> works flawlessly.

Sounds like gnome-shell is hiding the network icon for whatever reason. 

Reassigning to gnome-shell component.
Comment 6 GNOME Infrastructure Team 2021-07-05 14:23:24 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of  gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/

Thank you for your understanding and your help.