Closed Bug 855642 Opened 11 years ago Closed 11 years ago

[Settings] Operator didn't change appropriately when selecting operator manually

Categories

(Firefox OS Graveyard :: Gaia::Settings, defect, P1)

ARM
Gonk (Firefox OS)
defect

Tracking

(blocking-b2g:tef+, b2g18 fixed, b2g18-v1.0.0 wontfix, b2g18-v1.0.1 fixed)

VERIFIED FIXED
blocking-b2g tef+
Tracking Status
b2g18 --- fixed
b2g18-v1.0.0 --- wontfix
b2g18-v1.0.1 --- fixed

People

(Reporter: atsai, Assigned: jj.evelyn)

References

Details

(Whiteboard: IOT, Spain, Ikura)

Attachments

(1 file)

STR:
1. Settings -> Cellular & Data -> Network Operator
2. Disable Automatic selection
3. Select operator A
4. Select operator B
5. Back -> Network Operator

Expected:
Step 3: original operator should turn to "Available", and operator A becomes "Connected" after connected.
Step 4: Operator A turns to "Available", and operator B becomes "Connected"
Step 5: Operator B should be "current"

Actual:
The status won't changes until reopen settings app
It's kind of confusion about "Connected" and "Current". What should be the difference between them?

Add UX to help if need UX to refine status changing.
QA Contact: atsai
Hi, 

I think this could be quite confusing to the user when performing manual network selection... user will think that indeed manual network selection has failed when it's been successful. 

I'd suggest to nominate this for tef+. 

Thks!
David
blocking-b2g: --- → tef?
Hi, 

Blocking issue reported during certification in Spain, adding dep, and marking as P1. 

Thanks!
David
Priority: -- → P1
blocking-b2g: tef? → tef+
This is not a pure UI(gaia) issue. Performing available operator network scan costs 2 to 10 minutes every time. When the operator switch happens, it's not allowed to re-scan just for UI update (while we use this trick when Wifi connected). Therefore, we need Gecko support to notify Gaia there are network status changes. A possible Gaia workaround before getting Gecko status update support, we could record the original and current(switched to) networks in Gaia, and always display 'Available' for the original one (which may not be the real state, it may be out of range, forbidden or some states Gaia can't be aware).

cc hsinyi for Gecko part.
Flags: needinfo?(htsai)
Triaged on April 9th: Ken will check this case first.
Assignee: nobody → kchang
Hi Evelyn, RIL already notifies DOM when 'network status' changed via onvoicechanged and ondatachanged. But I guess what you were mentioning was 'networks' so that gaia doesn't need to actively query getNetworks() in carrier.js. Is my guessing right? If so, then unfortunately, per my very quick check, RIL (platform) isn't notified when networks change, either. If we want to get information of networks, we need to query.
Flags: needinfo?(htsai)
Hey Hsin-yi, yes I'm talking about a "networks" property or event hook for notifying its status changed. So per your explanation, Gecko has no means to receive network change except proactive query by itself. Are you (or Ken) think it's okay if we do the Gaia workaround like my comment 5 said? That's, "record the original and current(switched to) networks in Gaia, and always display 'Available' for the original one". is it a good idea? If so, feel free to re-assign this issue to me.
Adding some colleagues in CC
Hi Evelyn, I have another solution for this bug. It is very similar with yours, but a little difference. Gaia keeps the currently registered network (PLMN). When displaying the available networks list, Gaia will set the "connected" only if the available network(PLMN) is same as the currently registered network(PLMN).
Because the modifications of these solutions are in Gaia, I assign this bug to you. Thanks. :)
Assignee: kchang → ehung
Whiteboard: IOT, Spain, Ikura
I did the proposed Gaia workaround as comment 8 said.
Attachment #735650 - Flags: review?(arthur.chen)
Comment on attachment 735650 [details]
point to https://github.com/mozilla-b2g/gaia/pull/9081

Good work. r+ with the comment addressed.
Attachment #735650 - Flags: review?(arthur.chen) → review+
merged into gaia-master
https://github.com/mozilla-b2g/gaia/commit/24deff896b0e4965a485ee8759ee0ca00a6ad69b
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Uplifted commit 24deff896b0e4965a485ee8759ee0ca00a6ad69b as:
v1-train: d26cd19778034a1334ae2c026aa84bd75b0248fc
v1.0.1: 4340e965dc0c345642273ed842e386b9ef999793
Cannot be verified until AU_LINUX_GECKO_ICS_STRAWBERRY_V1.01.00.01.019.078 is used in inari builds.
Depends on: 853739
Hi, 

Thanks Carlos. If possible, please check this with ikura. 

Thks!
David
Assumed fixed, close it. Open a new one if it happens again.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: