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

Issue 10192001: ash: Fix transparency glitches in window header (Closed)

Created:
8 years, 8 months ago by James Cook
Modified:
8 years, 8 months ago
Reviewers:
sky
CC:
chromium-reviews, sadrul, ben+watch_chromium.org
Visibility:
Public.

Description

ash: Fix transparency glitches in window header Due to a race between when window show/hide animations change IsVisible() and "solo" window counting for determining header transparency, a missed update when windows are hidden, and FramePainter::PaintHeader() being called repeatedly with different clip rects for widget updates, we could get into a state where the window header has different transparency values behind various views::View widgets. Fix this by using Window::TargetVisibility() instead of IsVisible() and monitoring for window visibility change events. BUG=123866 TEST=manual, see bug Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=133595

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -12 lines) Patch
M ash/wm/frame_painter.h View 2 chunks +7 lines, -0 lines 0 comments Download
M ash/wm/frame_painter.cc View 4 chunks +25 lines, -12 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
James Cook
Scott, PTAL. I think we'll need to backport this to R19 as well.
8 years, 8 months ago (2012-04-23 17:37:05 UTC) #1
sky
LGTM
8 years, 8 months ago (2012-04-23 20:39:22 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamescook@chromium.org/10192001/1
8 years, 8 months ago (2012-04-23 22:10:28 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamescook@chromium.org/10192001/1
8 years, 8 months ago (2012-04-23 23:55:32 UTC) #4
commit-bot: I haz the power
8 years, 8 months ago (2012-04-24 01:45:51 UTC) #5
Change committed as 133595

Powered by Google App Engine
This is Rietveld 408576698