Network-indicator shows wrong initial state for mobile data

Bug #1204661 reported by Tony Espy
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
touch-preview-images
Fix Released
Critical
Renato Araujo Oliveira Filho

Bug Description

Running image 20130724, when the network indicator is first displayed after a fresh flash, the Mobile data toggle displays as "off", when it actually should be "on".

After connecting to a wi-fi network, the toggle is re-displayed in the correct state.

I've confirmed that that mobile data *is* enabled by running the following command:

dbus-send --system --print-reply --dest=org.freedesktop.NetworkManager /org/free
desktop/NetworkManager org.freedesktop.DBus.Properties.GetAll string:"org.freede
sktop.NetworkManager"

This shows that both "WwanEnabled" and "WwanHardwareEnabled" are both set to "true".

Steps to reproduce:

1. Flash 20130724 ensuring to use --wipe
2. Pull down the network-indicator and see that "Wi-Fi" is on, and "Mobile data" is off.
3. Run the above dbus-send command and verify that "Mobile data" is actually enabled
4. Connect to a Wi-Fi access point and notice that the "Mobile data" switch is re-displayed correctly.

Note, I have only reproduced this on maguro, it works fine on mako.

Related branches

Tony Espy (awe)
Changed in touch-preview-images:
assignee: nobody → Renato Araujo Oliveira Filho (renatofilho)
Revision history for this message
Tony Espy (awe) wrote :

Note, another thing I noticed is that the toggles when displayed aren't dynamic ( ie. if the underlying property changes, the toggle isn't updated ).

In the case of Wi-Fi, if enabled and you toggle the switch from the command-line, the toggle doesn't react, however the network list is cleared.

This is an interesting aside, but may not necessarily be a bug.

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

This appears to have been a bug in yesterday's image. After flashing 20130725.1, I no longer see a discrepancy between the mobile data state and the associated toggle in the indicator.

Changed in touch-preview-images:
status: New → Invalid
Tony Espy (awe)
Changed in touch-preview-images:
status: Invalid → Confirmed
Revision history for this message
Tony Espy (awe) wrote :

Just bumped this to critical as I can reproduce with today's image on Maguro.

In my case, Wi-Fi is disabled, I have an active mobile data connection, yet when I open the indicator, it shows both Wi-Fi and Mobile Data as disabled.

Running the following dbus-send script confirms that mobile data is in fact enabled:

#! /bin/sh
dbus-send --system --print-reply --dest=org.freedesktop.NetworkManager /org/free
desktop/NetworkManager org.freedesktop.DBus.Properties.GetAll string:"org.freede
sktop.NetworkManager"

Changed in touch-preview-images:
importance: Undecided → Critical
Revision history for this message
Tony Espy (awe) wrote :

Also, as Wi-Fi is disabled, there doesn't seem to be a workaround to cause toggle to refresh.

Changed in touch-preview-images:
status: Confirmed → In Progress
Revision history for this message
Tony Espy (awe) wrote :

Note, this occurs on mako too.

summary: - [maguro] Network-indicator shows wrong initial state for mobile data
+ Network-indicator shows wrong initial state for mobile data
Revision history for this message
Dave Morley (davmor2) wrote :

root@ubuntu-phablet:/# cat /var/lib/ofono/234308342877614/gprs
[Settings]
Powered=1
RoamingAllowed=false

[context1]
Name=Internet
AccessPointName=general.t-mobile.uk
Username=User
Password=mms
Type=internet
Protocol=ip

[context2]
Name=Internet
AccessPointName=general.t-mobile.uk
Username=
Password=
Type=internet
Protocol=ip

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

Fix released in chewie 0.2.10.

Changed in touch-preview-images:
status: In Progress → Fix Released
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.