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

Issue 8879005: Fix bug where panels sometimes don't align on bottom. (Closed)

Created:
9 years ago by prasadt
Modified:
9 years ago
Reviewers:
Dmitry Titov
CC:
chromium-reviews, jennb, jianli, dcheng, prasadt
Visibility:
Public.

Description

Fix bug where panels sometimes don't align on bottom. This happens when a move animation starts while a resize animation, typically during creation is in progress. Now the animation starts from where the last one left. Fixes a bug where from bounds and to bounds are reversed in the called StartBoundsAnimation in OnSizeChanged. BUG=106573 TEST=Instructions in bug report. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113746

Patch Set 1 #

Total comments: 4

Patch Set 2 : Code review feedback, merge with latest and bug fix in OnWindowSizeAvailable. #

Patch Set 3 : Sync to latest #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -2 lines) Patch
M chrome/browser/ui/panels/panel_browser_window_gtk.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel_browser_window_gtk.cc View 1 2 3 chunks +10 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
prasadt
9 years ago (2011-12-08 17:51:00 UTC) #1
Dmitry Titov
You want to sync with 3-step before landing because it touched the same ecode.. Also, ...
9 years ago (2011-12-08 19:04:45 UTC) #2
prasadt
http://codereview.chromium.org/8879005/diff/1/chrome/browser/ui/panels/panel_browser_window_gtk.cc File chrome/browser/ui/panels/panel_browser_window_gtk.cc (right): http://codereview.chromium.org/8879005/diff/1/chrome/browser/ui/panels/panel_browser_window_gtk.cc#newcode417 chrome/browser/ui/panels/panel_browser_window_gtk.cc:417: if (bounds_animator_.get() && bounds_animator_->IsShowing()) { On 2011/12/08 19:04:45, Dmitry ...
9 years ago (2011-12-08 21:41:45 UTC) #3
prasadt
Also fixed the issue with from/to bounds being reversed in StartBoundsAnimation() call in OnSizeAvailable().
9 years ago (2011-12-08 21:43:10 UTC) #4
Dmitry Titov
lgtm
9 years ago (2011-12-08 21:45:13 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/prasadt@chromium.org/8879005/2002
9 years ago (2011-12-08 21:51:35 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/prasadt@chromium.org/8879005/5002
9 years ago (2011-12-09 01:07:57 UTC) #7
commit-bot: I haz the power
9 years ago (2011-12-09 03:37:09 UTC) #8
Change committed as 113746

Powered by Google App Engine
This is Rietveld 408576698