Two Wi-Fi network applets appear after logging back into live-usb Lubuntu 18.04 session.

Bug #1761606 reported by warren
154
This bug affects 41 people
Affects Status Importance Assigned to Milestone
indicator-application (Ubuntu)
Confirmed
Undecided
Unassigned
lubuntu-default-settings (Ubuntu)
Incomplete
Undecided
Unassigned
ubuntu-mate-settings (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Lubuntu 18.04 ISO version: 20180404
network-manager-applet version: 1.8.10-2ubuntu1
After logging into my Wi-Fi network then logging out then logging back into the Live-USB session Two Wi-Fi network applets appeared where One would be the expected outcome.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: network-manager-gnome 1.8.10-2ubuntu1
ProcVersionSignature: Ubuntu 4.15.0-13.14-generic 4.15.10
Uname: Linux 4.15.0-13-generic x86_64
ApportVersion: 2.20.9-0ubuntu2
Architecture: amd64
CasperVersion: 1.392
CurrentDesktop: LXDE
Date: Thu Apr 5 21:06:24 2018
IfupdownConfig:
 # interfaces(5) file used by ifup(8) and ifdown(8)
 auto lo
 iface lo inet loopback
IpRoute:
 default via 192.168.1.1 dev wlp3s0 proto dhcp metric 600
 192.168.1.0/24 dev wlp3s0 proto kernel scope link src 192.168.1.166 metric 600
LiveMediaBuild: Lubuntu 18.04 LTS "Bionic Beaver" - Beta amd64 (20180404)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=C.UTF-8
 SHELL=/bin/bash
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
SourcePackage: network-manager-applet
UpgradeStatus: No upgrade log present (probably fresh install)
nmcli-con:
 NAME UUID TYPE TIMESTAMP TIMESTAMP-REAL AUTOCONNECT AUTOCONNECT-PRIORITY READONLY DBUS-PATH ACTIVE DEVICE STATE ACTIVE-PATH SLAVE
 Zero-Day a2f10fa9-551c-4a4f-93ba-5fe6c22c4134 wifi 1522962221 Thu Apr 5 21:03:41 2018 yes 0 no /org/freedesktop/NetworkManager/Settings/2 yes wlp3s0 activated /org/freedesktop/NetworkManager/ActiveConnection/2 --
 Wired connection 1 472b45a7-c95b-3638-b452-3f6720688df8 ethernet 1522961321 Thu Apr 5 20:48:41 2018 yes 4294966297 no /org/freedesktop/NetworkManager/Settings/1 no -- -- -- --
nmcli-dev:
 DEVICE TYPE STATE DBUS-PATH CONNECTION CON-UUID CON-PATH
 wlp3s0 wifi connected /org/freedesktop/NetworkManager/Devices/3 Zero-Day a2f10fa9-551c-4a4f-93ba-5fe6c22c4134 /org/freedesktop/NetworkManager/ActiveConnection/2
 enp0s25 ethernet unavailable /org/freedesktop/NetworkManager/Devices/2 -- -- --
 lo loopback unmanaged /org/freedesktop/NetworkManager/Devices/1 -- -- --
nmcli-nm:
 RUNNING VERSION STATE STARTUP CONNECTIVITY NETWORKING WIFI-HW WIFI WWAN-HW WWAN
 running 1.10.6 connected started full enabled enabled enabled enabled enabled

Revision history for this message
warren (wkclemmons) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in network-manager-applet (Ubuntu):
status: New → Confirmed
Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1761606

tags: added: iso-testing
Revision history for this message
lotuspsychje (lotuspsychje) wrote :

Confirmed on Lubuntu 18.04 32bit @ 12/4/18 on daily iso, after a succesfull install
2 wifi icons showing at right down corner

Revision history for this message
Adrian (thehim) wrote :

Since the older bug (1685502) was marked duplicate in favor of this one, I'll just copy a few related links (aside from the listed duplicates) that might be of interest:

https://bugs.launchpad.net/ubuntu/+source/network-manager-applet/+bug/938380
https://bugs.launchpad.net/ubuntu/+source/network-manager-applet/+bug/1652454
https://bugs.launchpad.net/ubuntu/+source/mate-panel/+bug/1675580
https://ubuntu-mate.community/t/17-04-nm-applet-works-fine-but-shows-2-icons-in-the-system-tray/12020/22
https://github.com/mate-desktop/mate-panel/issues/539

Would be nice to finally see this fixed across all Ubuntu flavors, but maybe that's not possible due to different approaches (panels).

Revision history for this message
fabritrento (fabritrento) wrote :

the same problem is present in xubuntu 18.04LTS, two wifi icons is displayed in the panel

Revision history for this message
aaronfranke (arnfranke) wrote :

Occurs for me on live session and installed versions of release Xubuntu 18.04 Bionic Beaver. Two network icons are displayed, both functional.

System specs: TL-WDN4800 Wi-Fi card, i5-6600k, 16 GB RAM, GTX 770.

Revision history for this message
bmaupin (bmaupin) wrote :

Same here, on an installed Xubuntu 18.04

Revision history for this message
tom581 (tbrown581) wrote :

I've got the same problem in Xubuntu 18.04. Two network icons appear in the panel.
When I restart the Xfce Panel (xfce4-panel --restart), one of the two duplicate icons goes away but it comes back especially when I resume the system after suspend.

Revision history for this message
Pascal A. (pascalav) wrote :

Also present on Lubuntu 18.04 (from a 16.04 upgrade, at least).

Revision history for this message
Pascal A. (pascalav) wrote :

Maybe an hint:
  - The first network icon has no sections horizontal bar UI-delimiters (e.g. between the 'Wifi' and 'Mobile broadband' sections)
  - The second network icon has those UI-delimiters

Revision history for this message
Prahlad Yeri (prahladyeri) wrote :

This happens on Xubuntu and UbuntuMATE variants of 18.04.01 LTS too, its high time that this needs a resolution.

Revision history for this message
Glenn Brumfield (brumfield-glenn) wrote :

Title of this bug is:

[QUOTE] Two Wi-Fi network applets appear after logging back into live-usb Lubuntu 18.04 session. [/QUOTE]

However, this also affects Lubuntu 18.04.1 installed to my HDD; not just live-usb.

Revision history for this message
bmaupin (bmaupin) wrote :

In Xubuntu this may be fixable by removing the indicator-application package:

sudo apt remove indicator-application
xfce4-panel -r

Revision history for this message
Alkis Georgopoulos (alkisg) wrote :

It appears to be a race condition, like maybe nm-applet first registers itself in the tray, then indicator-applet-complete is loaded, and it shows nm-applet a second time. While if nm-applet starts after indicator-applet-complete has finished loading, it doesn't register itself in the tray, only in the indicator-applet-complete itself.

But I'm experiencing this very rarely so I can't easily test workarounds.

If you add "X-GNOME-Autostart-Delay=10" in /etc/xdg/autostart/nm-applet.desktop, does the problem go away?

Revision history for this message
Alkis Georgopoulos (alkisg) wrote :

And another test would be:
In /etc/xdg/autostart/nm-applet.desktop
to replace:
Exec=nm-applet
with:
Exec=nm-applet --indicator

...which hopefully turns off autodetection and always uses indicator-applet-complete. Does that work?

Revision history for this message
schamane (schamane) wrote :

I tried `Exec=nm-applet --indicator` on a Lubuntu 18.04 w/ current updates. After reboot still 2 icons were shown on the panel.

Revision history for this message
Mark smith (zebiddy8) wrote :

Two network & volume indicators also on XFCE panel.
No change even after resetting the panel (xfce4-panel -r).
I guess two is better than none. ;-)

Revision history for this message
Alex (alex2020) wrote :

Xubuntu 18.04. In the settings panel remove the Status Notifier Plugin. Only one network icon will remain.

Revision history for this message
Ilias (ilias63) wrote :

Xubuntu 18.04.2
Two network icons appear at start up but not every time.
The 1st icon appears because Status Notifier plugin is enabled.
The 2nd icon appears because nm applet and network are included in Notification area and if I choose to be hidden only the arrow appears in panel instead of the 2nd icon.
Under 16.04 there was no problem ever.
xfce-panel -r solves the problem but not permanently.
Any idea on this issue?

Revision history for this message
John Doe (j0hn1d0e) wrote :

Thanks to Alkis Georgopoulos @alkisg for the hint, `Exec=nm-applet --indicator` indeed does work for me in LUbuntu 18.0.4.

Revision history for this message
Josep Pujadas-Jubany (jpujades) wrote :

Lubuntu 18.04.3 LTS 64 bit fresh install & dist-upgrade on:

* Toshiba Satellite Z30-B-15M
* Acer TravelMate B115-M

I have the same problem. Tried:

Exec=nm-applet --indicator

or

X-GNOME-Autostart-Delay=10

in /etc/xdg/autostart/nm-applet

Not working. Two icons in most logins.

Revision history for this message
Josep Pujadas-Jubany (jpujades) wrote :

Exec=/bin/bash -c "sleep 2 && nm-applet"

in /etc/xdg/autostart/nm-applet

seems to be a good workaround for my computers.

Both computers are using SSD disk. So, fast start-up.

Revision history for this message
Sebastien Bacher (seb128) wrote :

it's not a bug in nmapplet if lubuntu includes 2 indicators

affects: network-manager-applet (Ubuntu) → lubuntu-default-settings (Ubuntu)
Revision history for this message
Alkis Georgopoulos (alkisg) wrote :

In Ubuntu MATE 18.04, this happens in e.g. one out of 10 logins (not just in the Live CD).

We tried uninstalling the indicator-application package in 500+ schools.
The problem never occurred again.

If this can't be pinpointed, maybe Ubuntu MATE and Lubuntu can just avoid including the indicator-application package in the default installations.

Isn't that about extracting the application menus and putting them in the panel? This isn't used by default, right?

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in indicator-application (Ubuntu):
status: New → Confirmed
Changed in ubuntu-mate-settings (Ubuntu):
status: New → Confirmed
Revision history for this message
Peter Eijlander (peter-eijlander) wrote :

This happens too in Linux Mint MATE 19.3 (in my case 64bit) Stopping and starting the applet does not help but logging off and back on again soves this iommediately. It occurs since the change from the old separated applets to the "unified XApp Status Applet" combines the status of updates and network. Simulating it is hardly possible, it's more a gamble.

Revision history for this message
Martin Wimpress  (flexiondotorg) wrote :

Fixed in ubuntu-mate-settings (21.04.1) hirsute;

Changed in ubuntu-mate-settings (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Alkis Georgopoulos (alkisg) wrote (last edit ):

I still have the issue in Ubuntu MATE 22.04.
Removing ayatana-indicator-application (which replaced indicator-application) works around the issue.

Revision history for this message
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote :

I'm going to assume this is no longer an issue in Lubuntu, but feel free to respond with the affected version if I'm incorrect.

Changed in lubuntu-default-settings (Ubuntu):
status: Confirmed → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.