Issue metadata
Sign in to add a comment
|
Sync confirmation dialogue doesn't appear on subsequent sign-ins in the same profile when "Force sign-in" is disabled
Reported by
dmascare...@etouch.net,
Nov 21 2016
|
||||||||||||||||||||||
Issue descriptionChrome Version:57.0.2926.0 (Official Build) da59d418f54604ba2451cd0ef3a9cd42c05ca530-refs/heads/master@{#433437}-32/64 bit OS: Windows(7,8,8.1,10),Mac OS X(10.11.6, 10.12.1),Linux (14.04 LTS) Pre-condition: Profile should have passphrase What steps will reproduce the problem? 1. Launch chrome and navigate to chrome://md-settings 2. Click on 'Sign-into chrome',sign-in with valid credential and click on 'Ok,got it' button of the overlay. 3. Click on 'Sign out' button and then middle click on 'Reload' button such that page gets duplicated. 4. Click on 'Sign out' button of the dialog box. 5. Click on 'Sign-into chrome',sign-in with same valid credential again and observe. 6. Click on 'Sync' option such that page navigate to its subpage (i.e. chrome://md-settings/syncSetup) and click on back arrow to navigate back to Main page. 7. Click on 'Sign out' button and then click on 'Sign out' button of the dialog box, observe. Actual: 1. 'You're now signed in to Chrome' overlay is not seen after step 5. 2. 'Sign-into chrome' button is not clickable after step 7 and focus stay forever on 'Sign-into chrome' button evenafter chrome md-settings page is opened on New fresh NTP. Expected: 1.'You're now signed in to Chrome' overlay should be seen after step 5. 2.'Sign-into chrome' button should be clickable after step 7. This is regression issue, broken in 'M 56' and below is manual bisect info: Good build:56.0.2913.0 Bad build:56.0.2914.3
,
Nov 22 2016
Providing changelog as unable to Sign-in to chromium builds https://chromium.googlesource.com/chromium/src/+log/56.0.2913.0..56.0.2914.0?pretty=fuller&n=10000 Suspecting: r430699 ? Kindly help to re-assign, if your changes are not cause for this issue.
,
Nov 22 2016
cc anthonyvd@ and ewald@ Same reason as crbug.com/664410 . The sync confirm window doesn't show up for the second sign in. Good news is I found the real reason and will upload the fix soon.
,
Nov 22 2016
I don't understand. What's the "real reason," and how is this related to Issue 664410 ? In Issue 664410 , we are showing the sync confirmation screen when we shouldn't be (i.e. we shouldn't let a user who's already signed-in go through the confirmation dialogue). This issue is about the sync confirmation dialogue not appearing when trying to sign back in, in a very specific, odd scenario. FWIW, I can't reproduce this issue on Mac.
,
Nov 22 2016
Hi ewald@ In crbug.com/664410 comments #7, I mentioned there are two issues. The first one is showing the sign in window(not the sync confirm) when we shouldn't be. The second one is the sync confirm window is closed automatically even before we displaying it. So this ticket has the same root cause as the second one in 664410.
,
Nov 22 2016
Thanks Owen. See https://bugs.chromium.org/p/chromium/issues/detail?id=664410#c14 for more details. Note that this bug has nothing to do with opening another settings page in the background or having a sync passphrase. It simply is about the sync confirmation dialogue not appearing when signing in multiple times to the same profile. Note that I'm also unable to repro it on Mac, so I'm taking off the "Mac" OS label.
,
Nov 23 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/ff9fc46a4fdfb7c2975c867d8459e3cebe2e32fb commit ff9fc46a4fdfb7c2975c867d8459e3cebe2e32fb Author: zmin <zmin@chromium.org> Date: Wed Nov 23 23:52:21 2016 UnlockProfileAndHideLoginUI() will be called once the sign in is almost finished. This function will unlock the profile, hide the UserManager and send the message to javascript to close the "sign-in dialog". UnlockProfileAndHideLoginUI() will be called in two places. The first one is for the second sign-in of one profile when the force-sign-in is disabled. The second one is after the OnClientOAuthSuccess when the force-sign-in is enabled. Theoretically, this function can be called multiple times in one sign-in process. However, the fact is, once it's called by the second time, the javascript message will be sent to the "sync confirm dialog" but not the "sign-in dialog" which will close the "sync confirm dialog" automatically and causes other issue.s The quick fix here is making sure that the function will be called at most once no matter the force-sign-in is enabled or not. BUG= 667227 Review-Url: https://codereview.chromium.org/2519123003 Cr-Commit-Position: refs/heads/master@{#434287} [modify] https://crrev.com/ff9fc46a4fdfb7c2975c867d8459e3cebe2e32fb/chrome/browser/ui/webui/signin/inline_login_handler_impl.cc
,
Nov 24 2016
Verified in 57.0.2931.0 (64-bits) on Windows 10 This issue breaks the sign in process in M56 so the fix patch should be merged to M56.
,
Nov 24 2016
Your change meets the bar and is auto-approved for M56 (branch: 2924)
,
Nov 29 2016
Friendly ping for Owen to merge this CL :)
,
Nov 29 2016
Hi ewald@ This CL above triggers another issue( crbug.com/668619 ) which was hidden by the issue here before. You can find more details there. The second patch has been committed already but I'd like to verify both CLs on Canary and merge them together.
,
Nov 29 2016
Got it, makes sense. Thanks Owen! :)
,
Nov 30 2016
This issue has been approved for a merge. Please merge the fix to any appropriate branches as soon as possible! If all merges have been completed, please remove any remaining Merge-Approved labels from this issue. Thanks for your time! To disable nags, add the Disable-Nags label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Nov 30 2016
Please merge your change to M56 (branch: 2924) ASAP so that we could take it for next Dev Release. If there is no pending work after merging the CL please remove Merge-Approved-56 label and add merge-merged-2924.
,
Nov 30 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/fc68fea1f07157b6ef761f348a3daae2e3ed7b2b commit fc68fea1f07157b6ef761f348a3daae2e3ed7b2b Author: Patrick Monette <pmonette@chromium.org> Date: Wed Nov 30 23:43:12 2016 UnlockProfileAndHideLoginUI() will be called once the sign in is almost finished. This function will unlock the profile, hide the UserManager and send the message to javascript to close the "sign-in dialog". UnlockProfileAndHideLoginUI() will be called in two places. The first one is for the second sign-in of one profile when the force-sign-in is disabled. The second one is after the OnClientOAuthSuccess when the force-sign-in is enabled. Theoretically, this function can be called multiple times in one sign-in process. However, the fact is, once it's called by the second time, the javascript message will be sent to the "sync confirm dialog" but not the "sign-in dialog" which will close the "sync confirm dialog" automatically and causes other issue.s The quick fix here is making sure that the function will be called at most once no matter the force-sign-in is enabled or not. BUG= 667227 Review-Url: https://codereview.chromium.org/2519123003 Cr-Commit-Position: refs/heads/master@{#434287} (cherry picked from commit ff9fc46a4fdfb7c2975c867d8459e3cebe2e32fb) Review URL: https://codereview.chromium.org/2542773002 . Cr-Commit-Position: refs/branch-heads/2924@{#228} Cr-Branched-From: 3a87aecc31cd1ffe751dd72c04e5a96a1fc8108a-refs/heads/master@{#433059} [modify] https://crrev.com/fc68fea1f07157b6ef761f348a3daae2e3ed7b2b/chrome/browser/ui/webui/signin/inline_login_handler_impl.cc
,
Dec 2 2016
Above issue is fix on Windows and Linux OS using Latest Chrome Version:56.0.2924.14 (Official Build) 0dc503a1d29c5c8d206cec080ef65b1950451575-refs/branch-heads/2924@{#277} Please find the attached screencast
,
Dec 2 2016
As per Comment# 16 adding TE-Verified Labels. Thank You.
,
Dec 5 2016
|
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by msrchandra@chromium.org
, Nov 21 2016Status: Untriaged (was: Unconfirmed)