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

Issue 818400 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Apr 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

Starting in M64 Smart Lock does not log in when hitting Enter

Project Member Reported by omrilio@chromium.org, Mar 3 2018

Issue description

Works fine in M63, regression started in M64

What steps will reproduce the problem?
(1) Enable Smart Lock
(2) Lock screen
(3) Try to unlock by hitting enter when the icon is green

What is the expected result?
Unlocks

What happens instead?
Says wrong password (works if you tap the image with the mouse or finger)
 
Labels: -Pri-3 Pri-2
Status: Started (was: Untriaged)
Project Member

Comment 2 by bugdroid1@chromium.org, Apr 16 2018

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

commit f3bc4da52338572d88e2e608068ee6e6f483faa0
Author: James Hawkins <jhawkins@chromium.org>
Date: Mon Apr 16 17:16:30 2018

ash Login screen: Fix a regression with SmartLock login.

In previous implementations of the login screen, a user with SmartLock
enabled could press return with an empty password field in order to
authenticate. This behavior appears to not have been carried over in the
newer Views implementation.

The fix is to special case the auth attempt and divert the attempt to
the SmartLock flow in the case where the user has tap-to-unlock and the
password field is empty.

R=xiyuan@chromium.org

Bug:  818400 
Test: LoginAuthUserViewUnittest.PressReturnWithTapToUnlockEnabled
Change-Id: I1ecaba0d285fd43b231ca8028c19b0682f073b77
Reviewed-on: https://chromium-review.googlesource.com/1013398
Commit-Queue: James Hawkins <jhawkins@chromium.org>
Reviewed-by: Xiyuan Xia <xiyuan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#551016}
[modify] https://crrev.com/f3bc4da52338572d88e2e608068ee6e6f483faa0/ash/login/ui/login_auth_user_view.cc
[modify] https://crrev.com/f3bc4da52338572d88e2e608068ee6e6f483faa0/ash/login/ui/login_auth_user_view_unittest.cc

Cc: omrilio@chromium.org
Status: Fixed (was: Started)
Project Member

Comment 4 by bugdroid1@chromium.org, Apr 17 2018

Labels: merge-merged-testbranch
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/f3bc4da52338572d88e2e608068ee6e6f483faa0

commit f3bc4da52338572d88e2e608068ee6e6f483faa0
Author: James Hawkins <jhawkins@chromium.org>
Date: Mon Apr 16 17:16:30 2018

ash Login screen: Fix a regression with SmartLock login.

In previous implementations of the login screen, a user with SmartLock
enabled could press return with an empty password field in order to
authenticate. This behavior appears to not have been carried over in the
newer Views implementation.

The fix is to special case the auth attempt and divert the attempt to
the SmartLock flow in the case where the user has tap-to-unlock and the
password field is empty.

R=xiyuan@chromium.org

Bug:  818400 
Test: LoginAuthUserViewUnittest.PressReturnWithTapToUnlockEnabled
Change-Id: I1ecaba0d285fd43b231ca8028c19b0682f073b77
Reviewed-on: https://chromium-review.googlesource.com/1013398
Commit-Queue: James Hawkins <jhawkins@chromium.org>
Reviewed-by: Xiyuan Xia <xiyuan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#551016}
[modify] https://crrev.com/f3bc4da52338572d88e2e608068ee6e6f483faa0/ash/login/ui/login_auth_user_view.cc
[modify] https://crrev.com/f3bc4da52338572d88e2e608068ee6e6f483faa0/ash/login/ui/login_auth_user_view_unittest.cc

Sign in to add a comment