Flight mode indicator and network bars are seen onscreen simultaneously

Bug #1363929 reported by Jussi Kangas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
indicator-network (Ubuntu)
Invalid
Low
Unassigned
indicator-network (Ubuntu RTM)
Invalid
Undecided
Unassigned
ofono (Ubuntu)
Invalid
Undecided
Unassigned
urfkill (Ubuntu)
Fix Released
High
Tony Espy
urfkill (Ubuntu RTM)
Fix Released
High
Tony Espy

Bug Description

USED IMAGE:
current build number: 7
device name: krillin
channel: ubuntu-touch/ubuntu-rtm/14.09-proposed
last update: 2014-08-26 04:03:20
version version: 7
version ubuntu: 20140826
version device: 20140811.1

TEST STEPS:
-Enable flight mode from Network Indicator

EXPEXTED RESULT:
-Network bars disappear first and flight mode indicator appears after that

ACTUAL RESULT:
-Flight mode indicator appears before network bars disappear.

Revision history for this message
Jussi Kangas (jkangas) wrote :
Revision history for this message
Jussi Kangas (jkangas) wrote :

Happens with r11 too.

Tony Espy (awe)
Changed in indicator-network (Ubuntu):
importance: Undecided → High
Revision history for this message
Antti Kaijanmäki (kaijanmaki) wrote :

i-network shows the flightmode icon as soon as URfkill sends the FlightModeChanged signal.

The cellular network bars are cleared when ofono signals that the corresponding modem has "Online" property changed to FALSE. From the description it sounds like URfkill is signaling FlightModeChanged before ofono sends out the appropriate "Online"
change signal.

Changed in indicator-network (Ubuntu):
importance: High → Low
status: New → Invalid
Revision history for this message
Tony Espy (awe) wrote :

Sure, but aren't both are being monitored by indicator-network? I'm not sure it's possible to signal FM before the individual technologies are notified.

Can't you simply always clear the bars when 'Offline' OR FM=true?

Tony Espy (awe)
Changed in urfkill (Ubuntu):
status: New → Incomplete
Changed in ofono (Ubuntu):
status: New → Incomplete
Revision history for this message
Antti Kaijanmäki (kaijanmaki) wrote :

This is happening because urfkill is not waiting for ofono to return when setting modem Online properties to False.
Once the async branch of urfkill lands this should have fixed it self.

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

I've changed the Status of the ofono and urfkill tasks to Incomplete as there's a new version of urfkill pending that may change this behavior.

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

Preliminary testing on krillin with the latest pending changes for urfkill seems to fix this as posited above in comment #6.

Tony Espy (awe)
Changed in ofono (Ubuntu):
status: Incomplete → Invalid
Changed in urfkill (Ubuntu):
status: Incomplete → In Progress
importance: Undecided → High
assignee: nobody → Tony Espy (awe)
Tony Espy (awe)
Changed in urfkill (Ubuntu):
status: In Progress → Fix Committed
Changed in urfkill (Ubuntu RTM):
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → Tony Espy (awe)
Tony Espy (awe)
Changed in indicator-network (Ubuntu RTM):
status: New → Invalid
Revision history for this message
Tony Espy (awe) wrote :

FixReleased as urfill - 0.6.0~20141007.235123.f908aff.1-0ubuntu1.

Changed in urfkill (Ubuntu):
status: Fix Committed → Fix Released
Changed in urfkill (Ubuntu RTM):
status: Fix Committed → 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.