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

Issue 857583 link

Starred by 3 users

Issue metadata

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


Participants' hotlists:
LoginRefresh


Sign in to add a comment

Support error bubble in view login

Project Member Reported by xiaoyinh@chromium.org, Jun 28 2018

Issue description

In some cases, like active directory authentication, we use the js bubble[1]
instead of the error bubble in views, and because the js error bubble is placed in the left of the dialog, while in views we set the widget bounds to be exactly the bounds of the dialog, so the js bubble is not shown in this case. See screenshot(I hacked the code to be in active directory auth flow so the dialog might not be what it should look like in the real case).

We should investigate how to support this case in views login.


[1]: https://cs.chromium.org/chromium/src/ui/login/display_manager.js?rcl=c7f90e8d83c514cec3e3ca71e4cf76655476fca2&l=1143
 
error-bubble.png
31.4 KB View Download
Summary: Support error bubble in view login (was: Support error bubble in view login webui )
With CL: https://chromium-review.googlesource.com/c/chromium/src/+/1119498
it looks like the following in both views and webui login screen.
error2.png
44.8 KB View Download
error3.png
69.4 KB View Download
Components: UI>Shell>StartScreen
Cc: elizabethchiu@chromium.org
elizabethchiu@ any preference on the error bubble location in the screenshots above?

Their positioning seems to have been broken at one point // views-login requires they be within the bubble. If the UX intended them to be outside we can take another look.
Confirmed with Elizabeth with the following UI:
newerror-1.png
45.9 KB View Download
newerror-2.png
70.2 KB View Download
Project Member

Comment 6 by bugdroid1@chromium.org, Jun 29 2018

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

commit d9a2ebc6b3eab7f124f9016460520c8864d1472e
Author: Sarah Hu <xiaoyinh@chromium.org>
Date: Fri Jun 29 23:18:17 2018

Adjust error bubble position so it's shown in both views and webui login.

Bug:  857583 
Cq-Include-Trybots: luci.chromium.try:closure_compilation
Change-Id: I1d66cba765f9d68e913136e01c47f608d243ff76
Reviewed-on: https://chromium-review.googlesource.com/1119498
Commit-Queue: Xiaoyin Hu <xiaoyinh@chromium.org>
Reviewed-by: Jacob Dufault <jdufault@chromium.org>
Cr-Commit-Position: refs/heads/master@{#571703}
[modify] https://crrev.com/d9a2ebc6b3eab7f124f9016460520c8864d1472e/chrome/browser/resources/chromeos/login/screen_active_directory_password_change.js
[modify] https://crrev.com/d9a2ebc6b3eab7f124f9016460520c8864d1472e/chrome/browser/resources/chromeos/login/screen_gaia_signin.js
[modify] https://crrev.com/d9a2ebc6b3eab7f124f9016460520c8864d1472e/ui/login/bubble.css

Cc: xiaoyinh@chromium.org
 Issue 855645  has been merged into this issue.
Status: Fixed (was: Assigned)

Sign in to add a comment