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

Issue 1162883003: Fix Z-order for a bubble when it appears for inactive window. (Closed)

Created:
5 years, 6 months ago by vasilii
Modified:
5 years, 6 months ago
Reviewers:
Elliot Glaysher, sadrul, sky
CC:
chromium-reviews, tfarina, tdanderson+views_chromium.org, alicet1, msw+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix Z-order for a bubble when it appears for an inactive window. The bubble should be immediately above its anchor. On Windows, however, it appeared above other Chrome windows. BUG=486730 Committed: https://crrev.com/a0a864b4582b637425675c7bee8437f841c97c86 Cr-Commit-Position: refs/heads/master@{#333464}

Patch Set 1 #

Patch Set 2 : fix CrOS #

Total comments: 4

Patch Set 3 : implement DesktopWindowTreeHostX11::StackAbove #

Total comments: 4

Patch Set 4 : DCHECK and a comment #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -1 line) Patch
M ui/views/bubble/bubble_delegate.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_native_widget_aura.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_win.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc View 1 2 2 chunks +7 lines, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc View 1 2 2 chunks +50 lines, -0 lines 2 comments Download
M ui/views/win/hwnd_message_handler.cc View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 18 (5 generated)
vasilii
Hi Scott, please review.
5 years, 6 months ago (2015-06-02 15:10:26 UTC) #2
sky
https://codereview.chromium.org/1162883003/diff/20001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc File ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc (right): https://codereview.chromium.org/1162883003/diff/20001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc#newcode417 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc:417: } Is it not possible to implement this on ...
5 years, 6 months ago (2015-06-02 16:32:57 UTC) #3
vasilii
https://codereview.chromium.org/1162883003/diff/20001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc File ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc (right): https://codereview.chromium.org/1162883003/diff/20001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc#newcode417 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc:417: } On 2015/06/02 16:32:57, sky wrote: > Is it ...
5 years, 6 months ago (2015-06-03 13:47:39 UTC) #4
vasilii
I implemented DesktopWindowTreeHostX11::StackAbove.
5 years, 6 months ago (2015-06-05 12:05:34 UTC) #6
sky
+erg for x11 side. https://codereview.chromium.org/1162883003/diff/60001/ui/views/win/hwnd_message_handler.cc File ui/views/win/hwnd_message_handler.cc (right): https://codereview.chromium.org/1162883003/diff/60001/ui/views/win/hwnd_message_handler.cc#newcode536 ui/views/win/hwnd_message_handler.cc:536: // Find a window above ...
5 years, 6 months ago (2015-06-05 15:27:41 UTC) #8
vasilii
https://codereview.chromium.org/1162883003/diff/60001/ui/views/win/hwnd_message_handler.cc File ui/views/win/hwnd_message_handler.cc (right): https://codereview.chromium.org/1162883003/diff/60001/ui/views/win/hwnd_message_handler.cc#newcode536 ui/views/win/hwnd_message_handler.cc:536: // Find a window above |other_hwnd|. If it exists, ...
5 years, 6 months ago (2015-06-05 15:37:26 UTC) #9
Elliot Glaysher
+sadrul Do you know if there's a cleaner way to do the restacking here in ...
5 years, 6 months ago (2015-06-05 22:03:01 UTC) #11
vasilii
I'm fine with leaving X11 implementation empty. https://codereview.chromium.org/1162883003/diff/80001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc File ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc (right): https://codereview.chromium.org/1162883003/diff/80001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc#newcode141 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc:141: &root_win, &parent_win, ...
5 years, 6 months ago (2015-06-08 09:14:37 UTC) #12
sky
LGTM for windows side.
5 years, 6 months ago (2015-06-08 15:17:16 UTC) #13
Elliot Glaysher
lgtm. we can always pull out the x11 side if there's problems; this seems important ...
5 years, 6 months ago (2015-06-08 22:54:36 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1162883003/80001
5 years, 6 months ago (2015-06-09 08:09:38 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:80001)
5 years, 6 months ago (2015-06-09 08:58:05 UTC) #17
commit-bot: I haz the power
5 years, 6 months ago (2015-06-09 08:58:59 UTC) #18
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/a0a864b4582b637425675c7bee8437f841c97c86
Cr-Commit-Position: refs/heads/master@{#333464}

Powered by Google App Engine
This is Rietveld 408576698