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

Issue 2070163002: Fix "modal isn't modal in multi displays" issue (Closed)

Created:
4 years, 6 months ago by oshima
Modified:
4 years, 6 months ago
Reviewers:
James Cook
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

Fix "modal isn't modal in multi displays" issue This is pretty bad bug because you can do almost everything while system modal dialog is open. * Generalized the logic to check if the window is above blocking container. I believe I kept the original behavior otherwise. Please let me know if you noticed something different. BUG=620406 TEST=manual, covered by tests Committed: https://crrev.com/9a61ecf55390bfbaa15ec3da2ad529bda9d63e9c Cr-Commit-Position: refs/heads/master@{#400589}

Patch Set 1 : Modal fix #

Total comments: 2

Patch Set 2 : Modal fix #

Total comments: 23

Patch Set 3 : Modal fix #

Total comments: 3

Patch Set 4 : addressed #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+158 lines, -27 lines) Patch
M ash/root_window_controller.h View 1 chunk +3 lines, -0 lines 0 comments Download
M ash/root_window_controller.cc View 1 2 3 2 chunks +91 lines, -0 lines 0 comments Download
M ash/shell.cc View 1 2 3 1 chunk +2 lines, -10 lines 0 comments Download
M ash/wm/event_client_impl.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M ash/wm/system_modal_container_layout_manager.h View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M ash/wm/system_modal_container_layout_manager.cc View 1 2 3 4 1 chunk +2 lines, -15 lines 0 comments Download
M ash/wm/system_modal_container_layout_manager_unittest.cc View 1 2 3 4 3 chunks +55 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (21 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2070163002/80001
4 years, 6 months ago (2016-06-16 16:55:13 UTC) #2
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-16 17:59:38 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2070163002/120001
4 years, 6 months ago (2016-06-16 19:08:10 UTC) #12
oshima
https://codereview.chromium.org/2070163002/diff/120001/ash/wm/system_modal_container_layout_manager.cc File ash/wm/system_modal_container_layout_manager.cc (left): https://codereview.chromium.org/2070163002/diff/120001/ash/wm/system_modal_container_layout_manager.cc#oldcode125 ash/wm/system_modal_container_layout_manager.cc:125: return true; This was the culprit. If you have ...
4 years, 6 months ago (2016-06-16 19:54:14 UTC) #16
James Cook
https://codereview.chromium.org/2070163002/diff/140001/ash/root_window_controller.cc File ash/root_window_controller.cc (right): https://codereview.chromium.org/2070163002/diff/140001/ash/root_window_controller.cc#newcode265 ash/root_window_controller.cc:265: bool IsWindowAboveContainer(aura::Window* window, nit: move up above the class ...
4 years, 6 months ago (2016-06-16 20:31:36 UTC) #17
oshima
https://codereview.chromium.org/2070163002/diff/140001/ash/root_window_controller.cc File ash/root_window_controller.cc (right): https://codereview.chromium.org/2070163002/diff/140001/ash/root_window_controller.cc#newcode265 ash/root_window_controller.cc:265: bool IsWindowAboveContainer(aura::Window* window, On 2016/06/16 20:31:35, James Cook wrote: ...
4 years, 6 months ago (2016-06-17 00:06:12 UTC) #18
James Cook
LGTM https://codereview.chromium.org/2070163002/diff/140001/ash/root_window_controller.cc File ash/root_window_controller.cc (right): https://codereview.chromium.org/2070163002/diff/140001/ash/root_window_controller.cc#newcode299 ash/root_window_controller.cc:299: DCHECK_EQ(common_parent, blocking->parent()); On 2016/06/17 00:06:12, oshima wrote: > ...
4 years, 6 months ago (2016-06-17 16:04:44 UTC) #19
oshima
https://codereview.chromium.org/2070163002/diff/140001/ash/wm/system_modal_container_layout_manager.h File ash/wm/system_modal_container_layout_manager.h (right): https://codereview.chromium.org/2070163002/diff/140001/ash/wm/system_modal_container_layout_manager.h#newcode59 ash/wm/system_modal_container_layout_manager.h:59: bool IsActiveModalWindows(aura::Window* window); On 2016/06/17 16:04:43, James Cook wrote: ...
4 years, 6 months ago (2016-06-18 09:21:44 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2070163002/180001
4 years, 6 months ago (2016-06-18 09:21:54 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2070163002/240001
4 years, 6 months ago (2016-06-18 10:04:21 UTC) #29
commit-bot: I haz the power
Committed patchset #5 (id:240001)
4 years, 6 months ago (2016-06-18 10:43:19 UTC) #31
commit-bot: I haz the power
4 years, 6 months ago (2016-06-18 10:45:14 UTC) #33
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/9a61ecf55390bfbaa15ec3da2ad529bda9d63e9c
Cr-Commit-Position: refs/heads/master@{#400589}

Powered by Google App Engine
This is Rietveld 408576698