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

Issue 1214933006: Do not change the default Z-order for a bubble when it appears for an active window. (Closed)

Created:
5 years, 5 months ago by vasilii
Modified:
5 years, 5 months ago
Reviewers:
msw, sky
CC:
chromium-reviews, tfarina, 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

Do not change the default Z-order for a bubble when it appears for an active window. When the bubble parent is active, no special treatment required. The bubble becomes the topmost window automatically. When the parent is inactive, the bubble is placed just above the parent so the other windows aren't overlapped. The CL is a follow-up for https://codereview.chromium.org/1162883003 BUG=504307

Patch Set 1 #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -2 lines) Patch
M ui/views/bubble/bubble_delegate.cc View 1 chunk +8 lines, -2 lines 6 comments Download

Depends on Patchset:

Messages

Total messages: 13 (2 generated)
vasilii
Hi Scott, please review. The dependence on another patchset is a bug.
5 years, 5 months ago (2015-06-30 15:31:15 UTC) #2
sky
https://codereview.chromium.org/1214933006/diff/1/ui/views/bubble/bubble_delegate.cc File ui/views/bubble/bubble_delegate.cc (right): https://codereview.chromium.org/1214933006/diff/1/ui/views/bubble/bubble_delegate.cc#newcode47 ui/views/bubble/bubble_delegate.cc:47: Widget* parent = Widget::GetWidgetForNativeView(bubble_params.parent); Why do we need to ...
5 years, 5 months ago (2015-06-30 16:43:13 UTC) #3
vasilii
https://codereview.chromium.org/1214933006/diff/1/ui/views/bubble/bubble_delegate.cc File ui/views/bubble/bubble_delegate.cc (right): https://codereview.chromium.org/1214933006/diff/1/ui/views/bubble/bubble_delegate.cc#newcode47 ui/views/bubble/bubble_delegate.cc:47: Widget* parent = Widget::GetWidgetForNativeView(bubble_params.parent); On 2015/06/30 16:43:13, sky wrote: ...
5 years, 5 months ago (2015-06-30 18:57:04 UTC) #4
sky
https://codereview.chromium.org/1214933006/diff/1/ui/views/bubble/bubble_delegate.cc File ui/views/bubble/bubble_delegate.cc (right): https://codereview.chromium.org/1214933006/diff/1/ui/views/bubble/bubble_delegate.cc#newcode47 ui/views/bubble/bubble_delegate.cc:47: Widget* parent = Widget::GetWidgetForNativeView(bubble_params.parent); On 2015/06/30 18:57:03, vasilii wrote: ...
5 years, 5 months ago (2015-06-30 22:07:54 UTC) #5
vasilii
https://codereview.chromium.org/1214933006/diff/1/ui/views/bubble/bubble_delegate.cc File ui/views/bubble/bubble_delegate.cc (right): https://codereview.chromium.org/1214933006/diff/1/ui/views/bubble/bubble_delegate.cc#newcode47 ui/views/bubble/bubble_delegate.cc:47: Widget* parent = Widget::GetWidgetForNativeView(bubble_params.parent); On 2015/06/30 22:07:54, sky wrote: ...
5 years, 5 months ago (2015-07-01 09:29:40 UTC) #6
sky
https://codereview.chromium.org/1214933006/diff/1/ui/views/bubble/bubble_delegate.cc File ui/views/bubble/bubble_delegate.cc (right): https://codereview.chromium.org/1214933006/diff/1/ui/views/bubble/bubble_delegate.cc#newcode47 ui/views/bubble/bubble_delegate.cc:47: Widget* parent = Widget::GetWidgetForNativeView(bubble_params.parent); On 2015/07/01 09:29:40, vasilii wrote: ...
5 years, 5 months ago (2015-07-01 16:35:17 UTC) #7
vasilii
https://codereview.chromium.org/1214933006/diff/1/ui/views/bubble/bubble_delegate.cc File ui/views/bubble/bubble_delegate.cc (right): https://codereview.chromium.org/1214933006/diff/1/ui/views/bubble/bubble_delegate.cc#newcode47 ui/views/bubble/bubble_delegate.cc:47: Widget* parent = Widget::GetWidgetForNativeView(bubble_params.parent); On 2015/07/01 16:35:17, sky (OOO ...
5 years, 5 months ago (2015-07-02 09:12:52 UTC) #8
vasilii
Hi Mike, please review.
5 years, 5 months ago (2015-07-02 19:56:23 UTC) #10
msw
On 2015/07/02 19:56:23, vasilii wrote: > Hi Mike, > > please review. I'm not convinced ...
5 years, 5 months ago (2015-07-06 18:26:19 UTC) #11
vasilii
On 2015/07/06 18:26:19, msw wrote: > On 2015/07/02 19:56:23, vasilii wrote: > > Hi Mike, ...
5 years, 5 months ago (2015-07-07 08:47:16 UTC) #12
msw
5 years, 5 months ago (2015-07-07 19:10:27 UTC) #13
On 2015/07/07 08:47:16, vasilii wrote:
> On 2015/07/06 18:26:19, msw wrote:
> > On 2015/07/02 19:56:23, vasilii wrote:
> > > Hi Mike,
> > > 
> > > please review.
> > 
> > I'm not convinced this is the right fix either... I don't know that one
> > z-ordering is preferable over the other here, and really, I'd suspect that
the
> > defect ought to be resolved in another way altogether (eg. close the profile
> > bubble when the zoom bubble is triggered, prevent zoom while the profile
> bubble
> > is showing, etc.). I'll CC groby@ on the bug, since she is taking a
> higher-level
> > look at bubble management.
> 
> It's a temporary fix while we don't have a bubble manager.

I don't think a temporary fix is necessary.

Powered by Google App Engine
This is Rietveld 408576698