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

Issue 890047 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

Smart Lock: flickering tooltips on lock screen

Project Member Reported by hansberry@chromium.org, Sep 27

Issue description

Chrome Version: head

As Smart Lock internally progresses through states (e.g., discovering -> phone found or not found -> phone locked or unlocked), it presents tooltips to the user that explain what action they should take. Sometimes, Smart Lock is only in one of these states for a brief moment, before moving onto the next one, thus presenting a tooltip for tenths of a second.

Likely the cleanest way to address this is by "debouncing" these incoming tooltip change requests by using a timer of ~200ms in EasyUnlockScreenlockStateHandler, and canceling that timer and starting a new one if another request comes in [1].

1) https://cs.chromium.org/chromium/src/chrome/browser/chromeos/login/easy_unlock/easy_unlock_screenlock_state_handler.cc?q=EasyUnlockScreenlockStateHandler&sq=package:chromium&dr=CSs&l=182
 

Sign in to add a comment