Timezone appears to be enforced by device policy, but isn't |
|
Issue descriptionChrome Version: 67.0.3396.26 OS: Chrome 10575.22.0 (eve) 1. Visit time zone settings, ie chrome://settings/dateTime/timeZone 2. Ensure "Set automatically" is checked 3. Look for icon next to time zone selector Expected: No policy icon next to time zone selector Actual: Policy icon next to the time zone list with a tooltip says "This setting is enforced by your administrator." The time zone dropdown menu is disabled, as expected, because the "Choose from list" option is unchecked. But the policy icon gives the appearance that the time zone can't be changed due to device policy. In reality, when I select "Choose from list", the policy icon disappears and the list becomes editable. Note: My corp device does NOT have timezone related policies set (SystemTimezone nor SystemTimezoneAutomaticDetection) per chrome://policy.
,
May 5 2018
If we think time zone is controlled by policy, we always display this system preference (which is always controlled). Otherwise we display user time zone preference. Could you be in multi-profile mode with several users in session?
,
May 5 2018
Basically my question is: could your time or time zone preferences be controlled by something, but we just incorrectly display reason?
,
May 7 2018
It happens whether or not I'm in multiprofile mode. The issue persists across reboots.
,
May 7 2018
Could you also check other preferences?
chrome.settingsPrivate.getPref('settings.timezone', console.log.bind(console))
chrome.settingsPrivate.getPref('generated.resolve_timezone_by_geolocation_on_off', console.log.bind(console))
chrome.settingsPrivate.getPref('generated.resolve_timezone_by_geolocation_method_short, console.log.bind(console))
,
May 8 2018
{key: "settings.timezone", type: "STRING", value: "America/Los_Angeles"}
{key: "generated.resolve_timezone_by_geolocation_on_off", type: "BOOLEAN", value: true}
{key: "generated.resolve_timezone_by_geolocation_method_short", type: "NUMBER", value: 1}
,
May 8 2018
Ah, I missed that you have automatic detection enabled, so this is not preventing you from changing settings. It's just incorrect icon ;) |
|
►
Sign in to add a comment |
|
Comment 1 by michae...@chromium.org
, May 5 2018The pref itself returns controlledBy: "DEVICE_POLICY", even when the timezone list is enabled and the icon isn't shown. > chrome.settingsPrivate.getPref('cros.system.timezone', console.log.bind(console)) {controlledBy: "DEVICE_POLICY", enforcement: "ENFORCED", key: "cros.system.timezone", type: "STRING", value: "America/Los_Angeles"}