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

Issue 774425 link

Starred by 2 users

Issue metadata

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



Sign in to add a comment

Regression : Ctrl+Shift+Alt+R' key to Power wash the Device is not working when Uber Tray is opened

Project Member Reported by mmanchala@chromium.org, Oct 13 2017

Issue description

Chrome Version: 62.0.3202.55/9901.46.0 beta channel Daisy,Candy,Kip
OS: Chrome

What steps will reproduce the problem?
(1)Sign in to user -> Sign out -> Now in Sign-Out Screen Click on Uber Tray
(2)Now press 'Ctrl+Shift+Alt+R' key to Power wash the Device ->Observe 'Reset this Chrome device' overlay  is not seen   (Please refer Video)

Expected: 'Reset this Chrome device' overlay should be seen even when Uber Tray is opened
Actual: Instead unable to open'Reset this Chrome device' overlay if Uber Tray is opened i.e.  'Ctrl+Shift+Alt+R' key to Power wash the Device is not working
 
This is Regression Issue seen as it is working fine in M-60

Note: Issue is also seen on Latest M-63 and M-61

@alemate : Please confirm the Issue
 
Actual_UnableToOpenPowerwashScreen.mp4
5.8 MB View Download
Expected_PowerwashScreen.jpg
2.4 MB View Download
Attaching expected video for reference
Expected_PowerwashScreen.mp4
6.2 MB View Download
Cc: alemate@chromium.org
Owner: osh...@chromium.org
This was probably implemented in the  issue 120680 .

Comment 3 by osh...@chromium.org, Oct 17 2017

Owner: yawano@chromium.org
It must be regression after that change. I guess this is https://chromium-review.googlesource.com/c/chromium/src/+/603547?
Owner: zalcorn@chromium.org
Zach, can you have a look at this

Comment 5 by yawano@chromium.org, Oct 19 2017

To provider the context, the CL makes TrayBubbleView to always consume key events (if it's opened and not focused) similar to how menu consumes key events.

Comment 6 by gkihumba@google.com, Oct 27 2017

Any updates?
Owner: ovanieva@chromium.org
+Olga for keyboard shortcuts - can you help find a fix here?
Owner: afakhry@chromium.org
the shortcut not working for me at all on M62 beta. 

adding ahmed to triage. 
Cc: afakhry@chromium.org
Components: -UI UI>Input>KeyboardShortcuts
Owner: weidongg@chromium.org
weidongg, can you please take a look? Thanks!
Actually all accelerator keys registered in WebUILoginView [1] does not work.

Those accelerator keys work before CL in #3 because the focus is always on WebUILoginView's native window, even if you open Uber Tray. But after the CL 
 TrayBubbleView's native window somehow gets the focus. So even if we do not stop propagation [2], the key event will be sent to the focused window.

[1] https://cs.chromium.org/chromium/src/chrome/browser/chromeos/login/ui/webui_login_view.cc?type=cs&sq=package:chromium&l=130
[2] https://cs.chromium.org/chromium/src/ui/views/bubble/tray_bubble_view.cc?dr=C&l=180
Cc: -krajshree@chromium.org weidongg@chromium.org
Owner: yawano@chromium.org
I also think it's this CL: https://chromium-review.googlesource.com/c/chromium/src/+/603547?
Cc: krajshree@chromium.org
Cc: sky@chromium.org yawano@chromium.org
Owner: omrilio@chromium.org
This is working as intended from the CL point of view. In the CL, we made the tray behave similar to how menu behaves. It consumes all key events while tray is open.

Also Ctrl+Shift+Alt+R doesn't work if tray is activated. For example, if you open a tray with Alt+Shift+S, Ctrl+Shift+Alt+R would not work even without the CL.

omrilio@: Could you confirm what is the expected (intended) behavior here? Or could you reroute this issue to someone to confirm the expected behavior? Thank you!
Owner: zalcorn@chromium.org
Owner: yawano@chromium.org
Accelerator should and does works even with menu opened.
Try ctrl-n /ctrl-f5 with desktop menu opened (and also works with uber tray opened)
Status: Started (was: Assigned)
To make the accelerator work while system tray is open, it needs to be registered at accelerator controller.

Uploaded a CL at https://crrev.com/c/754253
Project Member

Comment 17 by bugdroid1@chromium.org, Nov 15 2017

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

commit 633edfecac687f0d04a0544c15811d9746c7c545
Author: Yuki Awano <yawano@chromium.org>
Date: Wed Nov 15 06:58:25 2017

Register accelerators at accelerator controller

- Register accelerators at global accelerator manager (accelerator
  controller) to make them work while system tray is open.
- Close system tray when status area becomes invisible.

      Confirm that reset screen is shown.

Bug:  774425 
Test: Open system tray at login screen, and press Ctrl+Alt+Shift+R.
Change-Id: I642a6ceee04b721427c9ee7116c78e0f2163b40d
Reviewed-on: https://chromium-review.googlesource.com/754253
Reviewed-by: Xiyuan Xia <xiyuan@chromium.org>
Reviewed-by: Steven Bennetts <stevenjb@chromium.org>
Commit-Queue: Yuki Awano <yawano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#516618}
[modify] https://crrev.com/633edfecac687f0d04a0544c15811d9746c7c545/ash/system/tray/system_tray_controller.cc
[modify] https://crrev.com/633edfecac687f0d04a0544c15811d9746c7c545/chrome/browser/chromeos/login/ui/webui_login_view.cc

Labels: Merge-Request-63
Request merge the CL in comment 17 to M63.
Project Member

Comment 19 by sheriffbot@chromium.org, Nov 16 2017

Labels: -Merge-Request-63 Merge-Review-63 Hotlist-Merge-Review
This bug requires manual review: M63 has already been promoted to the beta branch, so this requires manual review
Please contact the milestone owner if you have questions.
Owners: cmasso@(Android), cmasso@(iOS), gkihumba@(ChromeOS), govind@(Desktop)

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -Merge-Review-63 Merge-Approved-63
Project Member

Comment 21 by bugdroid1@chromium.org, Nov 17 2017

Labels: -merge-approved-63 merge-merged-3239
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/31a6a28b421690ea8bb7826acfb11bd752ca6e68

commit 31a6a28b421690ea8bb7826acfb11bd752ca6e68
Author: Yuki Awano <yawano@chromium.org>
Date: Fri Nov 17 05:12:17 2017

Register accelerators at accelerator controller

- Register accelerators at global accelerator manager (accelerator
  controller) to make them work while system tray is open.
- Close system tray when status area becomes invisible.

      Confirm that reset screen is shown.

Bug:  774425 
Test: Open system tray at login screen, and press Ctrl+Alt+Shift+R.
Change-Id: I642a6ceee04b721427c9ee7116c78e0f2163b40d
Reviewed-on: https://chromium-review.googlesource.com/754253
Reviewed-by: Xiyuan Xia <xiyuan@chromium.org>
Reviewed-by: Steven Bennetts <stevenjb@chromium.org>
Commit-Queue: Yuki Awano <yawano@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#516618}(cherry picked from commit 633edfecac687f0d04a0544c15811d9746c7c545)
Reviewed-on: https://chromium-review.googlesource.com/776473
Reviewed-by: Yuki Awano <yawano@chromium.org>
Cr-Commit-Position: refs/branch-heads/3239@{#525}
Cr-Branched-From: adb61db19020ed8ecee5e91b1a0ea4c924ae2988-refs/heads/master@{#508578}
[modify] https://crrev.com/31a6a28b421690ea8bb7826acfb11bd752ca6e68/ash/system/tray/system_tray_controller.cc
[modify] https://crrev.com/31a6a28b421690ea8bb7826acfb11bd752ca6e68/chrome/browser/chromeos/login/ui/webui_login_view.cc

Status: Fixed (was: Started)
Fix has merged to M63. Mark this as fixed.

Sign in to add a comment