Network menu shows WiFi networks even the switch is off

Bug #1226197 reported by Omer Akram
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Network Menu
Fix Released
High
Antti Kaijanmäki
indicator-network (Ubuntu)
Fix Released
High
Antti Kaijanmäki

Bug Description

I reboot my phone and the network menu shows wireless networks even though the wifi switch indicates that its disabled. I have attached a screenshot. Its pretty easily reproducible here.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: indicator-network 0.5.0+13.10.20130913-0ubuntu1
Uname: Linux 3.4.0-3-mako armv7l
ApportVersion: 2.12.1-0ubuntu4
Architecture: armhf
Date: Mon Sep 16 18:43:04 2013
InstallationDate: Installed on 2013-09-14 (1 days ago)
InstallationMedia: Ubuntu Saucy Salamander (development branch) - armhf (20130914.1)
MarkForUpload: True
ProcEnviron:
 TERM=linux
 PATH=(custom, no user)
SourcePackage: indicator-network
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Omer Akram (om26er) wrote :
tags: added: avengers
summary: - Network menu shows wireless networks even the switch is off
+ Network menu shows WiFi networks even the switch is off
Changed in indicator-network:
status: New → Confirmed
Changed in indicator-network (Ubuntu):
status: New → Confirmed
Julien Funk (jaboing)
Changed in indicator-network (Ubuntu):
importance: Undecided → Medium
Omer Akram (om26er)
Changed in indicator-network:
importance: Undecided → Medium
Thomas Strehl (strehl-t)
Changed in indicator-network (Ubuntu):
assignee: nobody → Ted Gould (ted)
Thomas Strehl (strehl-t)
Changed in indicator-network:
importance: Medium → High
Changed in indicator-network (Ubuntu):
importance: Medium → High
Revision history for this message
Ted Gould (ted) wrote :

I can't reproduce this on the Galaxy Nexus, and it seems to only be happening on the N4. Reassigning to Network Manager as it needs to move further down the stack. Guessing the Wifi driver isn't getting disabled when NM asks it to.

affects: indicator-network (Ubuntu) → network-manager (Ubuntu)
Changed in network-manager (Ubuntu):
assignee: Ted Gould (ted) → Mathieu Trudel-Lapierre (mathieu-tl)
Changed in indicator-network:
status: Confirmed → Incomplete
Revision history for this message
Omer Akram (om26er) wrote :

The problem is only seen after a clean flash of the device.

tags: added: qa-touch
Revision history for this message
Allan LeSage (allanlesage) wrote :

So I'm able to reproduce this by turning off/on/off Wi-Fi under System Settings; that menu is left in a state with APs remaining--then navigating to the indicator will show those remaining networks. (I.e. shutdown/startup may not be implicated.)

Revision history for this message
Tony Espy (awe) wrote :

Ted and I discussed earlier and I'd assumed this was the same as bug #1220332. I'm now convinced they're different bugs.

I tested this on maguro with image #98 + the indicator-network package from the merge associated with bug #1220332.

After booting the phone, the toggle shows that Wi-Fi is on ( which is actually the wrong, Wi-Fi should be *off* by default, but that's another bug ). Toggling the control off works correctly and all networks are cleared from the menu. Toggling the control back on causes networks to appear again in the list, however immediately the switch toggles from on to off, and we're now in the state originally described ( networks appear when Wi-Fi toggle is off ). At this point, I checked the state of the NM properties, and WirelessEnabled and WirelessHardwareEnabled are both set to "true".

Revision history for this message
Tony Espy (awe) wrote :

Actually, so based on my last comment, I believe this is an indicator-network bug, not a network manager bug.

Revision history for this message
Antti Kaijanmäki (kaijanmaki) wrote :

OK, so. the wifi-enabled switch needs a bit love. Currently it gets it's state changed when NM sends wifi-enabled signal, but also when wifi device changes state.

Tony Espy (awe)
affects: network-manager (Ubuntu) → indicator-network (Ubuntu)
Changed in indicator-network (Ubuntu):
assignee: Mathieu Trudel-Lapierre (mathieu-tl) → nobody
Revision history for this message
Tony Espy (awe) wrote :

Just confirmed the behavior described in comment #5 using image #100. The state is correct on 1st boot, but toggling Wi-Fi off, then back on again reproduces the bug.

Changed in indicator-network (Ubuntu):
assignee: nobody → Antti Kaijanmäki (kaijanmaki)
Changed in indicator-network:
assignee: nobody → Antti Kaijanmäki (kaijanmaki)
Changed in indicator-network (Ubuntu):
status: Confirmed → Fix Released
Changed in indicator-network:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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