New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 784805 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: Dec 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Regression : Toggle Button is seen Enabled automatically without closing 'ENTER SIM PIN' Dialog box in Cellular Connection Page

Project Member Reported by mmanchala@chromium.org, Nov 14 2017

Issue description

Chrome Version: 62.0.3202.97/9901.77.0 stable-channel Candy,Daisy and Reks
OS: Chrome

What steps will reproduce the problem?
(1)Sign into User ->Insert Mobile Dongle and ensure it is connected
(2)Now go to chrome://md-settings page -> At Internet Connection click on Cellular connection -> Navigates to Cellular connected page
(3)Now Enable 'Enable SIM Card locking(require PIN to use Mobile data) option -> 'ENTER SIM PIN' Dialog box is seen -> Enter correct pin and click 'ENTER' 
(4)Now disable 'Enable SIM Card locking(require PIN to use Mobile data) option   ->'ENTER SIM PIN' Dialog box is seen -> after few sec observe Toggle Button is seen enabled without closing Dialog box  -> (Please refer Video)

Expected: Toggle Button should be enabled only on closing 'ENTER SIM PIN' Dialog box

Actual: Instead Toggle Button of 'Enable SIM Card locking(require PIN to use Mobile data) option is seen enabled automatically after 5-10 sec without closing'ENTER SIM PIN' Dialog box

This is Regression issue as same is working fine in old settings page 

@stevenjb : Please confirm the issue

Note : Issue is seen on latest M-64 also
 
Actual_ToggleButtonEnabled.webm
696 KB View Download
Actual_ToggleButtonEnabled.jpg
178 KB View Download
Cc: dsunk...@chromium.org harpreet@chromium.org benchan@chromium.org
Components: OS>Systems>Mobile
Labels: -Pri-1 -M-64 M-65 Pri-2
Status: Started (was: Assigned)
I can't reproduce this locally, but I can see how this might happen if Shill sends an update while the dialog is opened. It should be striaghtforward to protect against this.

This does not seem like a P1, fixing in 65.

Actually I can repro this on coral. Fix is straightforward and seems to work fine. Still probably not important enough to merge to 64 imho.

Project Member

Comment 4 by bugdroid1@chromium.org, Dec 2 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/5779f6fd1f56c818d04aabb28ba7c7b05a1d0f57

commit 5779f6fd1f56c818d04aabb28ba7c7b05a1d0f57
Author: Steven Bennetts <stevenjb@chromium.org>
Date: Sat Dec 02 01:43:59 2017

Settings: Network: siminfo: Do not update toggle state with active dialog

This CL:
* Prevents updating the 'Enable SIM card locking' toggle while a SIM
  dialog is visible (e.g. when a network update arrives).
* Debounces toggle state update.

Bug:  784805 
Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation
Change-Id: I6780330af0675ca09ac61dca67e72e0a40e582bb
Reviewed-on: https://chromium-review.googlesource.com/803629
Commit-Queue: Ben Chan <benchan@chromium.org>
Reviewed-by: Ben Chan <benchan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#521175}
[modify] https://crrev.com/5779f6fd1f56c818d04aabb28ba7c7b05a1d0f57/ui/webui/resources/cr_components/chromeos/network/network_siminfo.js

Status: Fixed (was: Started)
Checked and Issue is working fine on latest M-70 70.0.3538.41/11021.37.0 beta-channel Candy

Thanks..!!

Sign in to add a comment