Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(297)

Issue 2244173006: Reset the focus after windows are restored, and grids are shutdown. (Closed)

Created:
4 years, 4 months ago by oshima
Modified:
4 years, 4 months ago
Reviewers:
varkha
CC:
chromium-reviews, kalyank, sadrul
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ResetFocusRestoreWindow may change activation, which can resize the window, which then results in reposition. This prevents it by updating the focus after grids are shutdown. BUG=634572 Committed: https://crrev.com/e26c7e4886eec4d2c58a5810b6440f7faa4293ea Cr-Commit-Position: refs/heads/master@{#412384}

Patch Set 1 #

Total comments: 4

Patch Set 2 : removed obsolete comment #

Patch Set 3 : . #

Total comments: 4

Patch Set 4 : fixd typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -2 lines) Patch
M ash/common/wm/overview/window_selector.cc View 1 2 3 2 chunks +6 lines, -2 lines 0 comments Download

Messages

Total messages: 24 (15 generated)
oshima
4 years, 4 months ago (2016-08-15 22:50:01 UTC) #7
varkha
Thanks for looking into this. Have a question. https://codereview.chromium.org/2244173006/diff/1/ash/common/wm/overview/window_selector.cc File ash/common/wm/overview/window_selector.cc (right): https://codereview.chromium.org/2244173006/diff/1/ash/common/wm/overview/window_selector.cc#newcode387 ash/common/wm/overview/window_selector.cc:387: // ...
4 years, 4 months ago (2016-08-15 23:09:25 UTC) #8
oshima
https://codereview.chromium.org/2244173006/diff/1/ash/common/wm/overview/window_selector.cc File ash/common/wm/overview/window_selector.cc (right): https://codereview.chromium.org/2244173006/diff/1/ash/common/wm/overview/window_selector.cc#newcode387 ash/common/wm/overview/window_selector.cc:387: // Setting focus after restoring windows' state avoids unnecessary ...
4 years, 4 months ago (2016-08-16 17:40:03 UTC) #12
varkha
This seems like a right thing to do here. LGTM. https://codereview.chromium.org/2244173006/diff/40001/ash/common/wm/overview/window_selector.cc File ash/common/wm/overview/window_selector.cc (right): https://codereview.chromium.org/2244173006/diff/40001/ash/common/wm/overview/window_selector.cc#newcode408 ...
4 years, 4 months ago (2016-08-16 22:38:35 UTC) #15
oshima
https://codereview.chromium.org/2244173006/diff/40001/ash/common/wm/overview/window_selector.cc File ash/common/wm/overview/window_selector.cc (right): https://codereview.chromium.org/2244173006/diff/40001/ash/common/wm/overview/window_selector.cc#newcode408 ash/common/wm/overview/window_selector.cc:408: // 1) DockeWindowLayoutManager uses the the restored state to ...
4 years, 4 months ago (2016-08-16 23:16:14 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2244173006/60001
4 years, 4 months ago (2016-08-16 23:17:02 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-16 23:55:56 UTC) #21
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/e26c7e4886eec4d2c58a5810b6440f7faa4293ea Cr-Commit-Position: refs/heads/master@{#412384}
4 years, 4 months ago (2016-08-16 23:57:51 UTC) #23
oshima
4 years, 4 months ago (2016-08-17 18:57:41 UTC) #24
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in
https://codereview.chromium.org/2251053003/ by oshima@chromium.org.

The reason for reverting is: Reverting because this can cause crash with arc++
windows..

Powered by Google App Engine
This is Rietveld 408576698