New issue
Advanced search Search tips

Issue 648351 link

Starred by 6 users

Issue metadata

Status: Verified
Owner:
Closed: Jan 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

Alt-TAB (while holding ALT) ignores ESC

Project Member Reported by girard@chromium.org, Sep 19 2016

Issue description

On CrOS 54.0.2840.13 dev 

Press and hold ALT, then press TAB, then press ESC, then release ALT.

Expected to land back on my starting window. Ended up on the next window.

 
Owner: tbuck...@chromium.org
Status: Assigned (was: Untriaged)
Cc: tbuck...@chromium.org
Labels: -Pri-2 Pri-3
Owner: est...@chromium.org
Thanks Gene! Confirming that this does work on other OSes, though I hadn't realized it.

I've updated the priority to P3 since it seems easy to navigate back to previously used window (another Alt+Tab), but still something we can consider.

Comment 3 by est...@chromium.org, Sep 28 2016

How does this work elsewhere/how should it work in cros? We just ignore Escape right now. Should escape dismiss the UI, or move the selection back to the initial window (either one would solve the problem as described in the initial bug report).

Comment 4 by agoode@chromium.org, Sep 29 2016

alt-escape should roll back all changes since alt was held down. It should be as if alt-tab or alt-shift-tab had not been pressed at all. So yes, move back to the initial window and not change the window stack.

Comment 5 by est...@chromium.org, Sep 29 2016

If we assume escape just cancels the UI, there's no need to "move back to the initial window" as we've never moved away from it. It sounds like that's what we want to do, I was just unclear on whether escape immediately dismissed the UI or it stayed up while holding alt.
Project Member

Comment 6 by bugdroid1@chromium.org, Oct 4 2016

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

commit 3b872a197e09c87447a6e1a8fbd5ed6e24ea1577
Author: estade <estade@chromium.org>
Date: Tue Oct 04 23:13:42 2016

Dismiss cros alt+tab UI on escape.

BUG= 648351 

Review-Url: https://codereview.chromium.org/2396603002
Cr-Commit-Position: refs/heads/master@{#422989}

[modify] https://crrev.com/3b872a197e09c87447a6e1a8fbd5ed6e24ea1577/ash/wm/window_cycle_event_filter_aura.cc

Comment 7 by est...@chromium.org, Oct 11 2016

Status: Fixed (was: Assigned)
Status: Verified (was: Fixed)
Verified on ChromeOS 8872.18.0, 55.0.2883.20
This is not fixed on Chrome 56.0.2924.28/ChromeOS 9000.29.0 (beta channel) -- initiating alt-tab then poking escape causes a window switch.
Status: Assigned (was: Verified)
It looks like the patch makes alt-esc equivalent to releasing alt. This isn't right. Alt-esc first has to roll back the cycling changes, then dismiss the window, since WindowCycleController::StopCycling() will commit the changes made so far.
Status: Fixed (was: Assigned)
Status: Verified (was: Fixed)
Verified on 57.0.2987.19/9202.11.0 

Sign in to add a comment