Closed Bug 1074752 Opened 10 years ago Closed 10 years ago

[woodduck][Settings]The Region and City can change in Time zone after turn on Set automatically

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: mlien, Assigned: gasolin)

References

Details

This nomination is a dup bug to confidential one due to public tracking

+++ This bug was initially created as a clone of Bug #1069128 +++
    [Instructions]
      1.Enter settings-->Date&Time
      2.Turn on "Set automatically"

    [Expected]
    Time zone show normal

    [Error]
    The "Region" and "City" can change in Time zone
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
I made a big mistake, duplicate the wrong way
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
[Blocking Requested - why for this release]:
2.0 generic issue
blocking-b2g: --- → 2.0?
Can reproduce with TWM sim card, will start finding root cause.


STR (from arthur):
(with a TWM sim card where the network time info is provided via data connection.)
1. Launch settings and ensure data connection is disabled.
2. Go to date & time panel.
3. Go to cellular & data panel and enable data connection.
4. Go back to date & time panel and disable auto-config.
Assignee: nobody → gasolin
Status: REOPENED → ASSIGNED
In this case, when auto-config is enabled, 

'time.timezone.automatic-update.available' is false 
'time.clock.automatic-update.enabled' is true

So the selector is not disabled.
Is this one a bug? or by design?

Device receive the time info via SNTP, not from NITZ.
SNTP did not contain Time zone info.
(According to sein lin in bug 1069128 comment 9)
When time zone info is available and time.timezone.automatic-update.enabled==true, the timezone will be updated automatically[1].

[1] http://dxr.mozilla.org/mozilla-central/source/dom/system/gonk/RadioInterfaceLayer.js#3126


Therefore, when 'time.timezone.automatic-update.available' is false, we can't get timezone update automatically. In this case, the Region & City should be selectable by design?
Flags: needinfo?(arthur.chen)
(In reply to Fred Lin [:gasolin] from comment #8)
> (According to sein lin in bug 1069128 comment 9)
> When time zone info is available and
> time.timezone.automatic-update.enabled==true, the timezone will be updated
> automatically[1].
> 
> [1]
> http://dxr.mozilla.org/mozilla-central/source/dom/system/gonk/
> RadioInterfaceLayer.js#3126
> 
> 
> Therefore, when 'time.timezone.automatic-update.available' is false, we
> can't get timezone update automatically. In this case, the Region & City
> should be selectable by design?

Hi Fred, I think this should be by design although the UI might confuse user a little bit.
Per the discussion with Shawn, there is a UX issue here. Auto time and auto timezone information are provided separately but we only have one toggle and which leads to confusion. We may need two separate toggles corresponding to auto time and auto timezone.

Flagging Jenny for her inputs.
Flags: needinfo?(arthur.chen) → needinfo?(jelee)
Hi there:
 Per Moz offline discussion, this is not a bug.

The root cause for Region/City is still changeable was caused by SNTP info.
SNTP only provide time stamp for current time, but do not have Time Zone info.
That's why Region/City is still available to user.

If device got NITZ, Region/City is unavailable to user.

We will file a bug for UX to discuss/add "Automatic Time Zone" option in future, but this will not be in 2.0m/2.0 branch.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → WONTFIX
Won't fix, remove blocking-b2g flag
blocking-b2g: 2.0? → ---
Flags: needinfo?(jelee)
You need to log in before you can comment on or make changes to this bug.