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

Issue 218883005: Fix another inappropriate overscroll glow. (Closed)

Created:
6 years, 8 months ago by MuVen
Modified:
6 years, 8 months ago
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Fix another inappropriate overscroll glow. r259729 fixed one bad overscroll glow, but introduced a regression in another case. When a scroll amount fell between 0.01 and 0.1, the early break caused the amount to fail to be subtracted from unused_scroll_delta at all, so all such scrolls resulted in a glow. BUG=358093 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=261241

Patch Set 1 : check for unnecessary glow #

Total comments: 1

Patch Set 2 : patch after review comments and with testcase #

Total comments: 1

Patch Set 3 : modified as per review comments #

Patch Set 4 : fixed complier error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -13 lines) Patch
M cc/trees/layer_tree_host_impl.cc View 1 2 3 2 chunks +9 lines, -9 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 3 chunks +18 lines, -4 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
MuVen
Hi Danakj/Aelias, I found the same issue reproducible when you zoom in to the max ...
6 years, 8 months ago (2014-03-31 09:57:37 UTC) #1
aelias_OOO_until_Jul13
Please apply my alternate proposal below and also add a unit test (I suggest just ...
6 years, 8 months ago (2014-04-01 02:28:19 UTC) #2
MuVen
Hi aelias, i agree with your patch as i saw many times from the logs ...
6 years, 8 months ago (2014-04-01 03:29:07 UTC) #3
aelias_OOO_until_Jul13
On 2014/04/01 03:29:07, muven wrote: > You dont want const float kOverscrollEpsilon = 0.01f; to ...
6 years, 8 months ago (2014-04-01 04:29:42 UTC) #4
aelias_OOO_until_Jul13
On 2014/04/01 04:29:42, aelias wrote: > On 2014/04/01 03:29:07, muven wrote: > > You dont ...
6 years, 8 months ago (2014-04-01 04:31:11 UTC) #5
MuVen
Please take a look . I have update as per review comments. Thanks, MuVen.
6 years, 8 months ago (2014-04-01 07:09:08 UTC) #6
aelias_OOO_until_Jul13
lgtm. I updated the patch description for the latest approach. https://codereview.chromium.org/218883005/diff/60001/cc/trees/layer_tree_host_impl_unittest.cc File cc/trees/layer_tree_host_impl_unittest.cc (right): https://codereview.chromium.org/218883005/diff/60001/cc/trees/layer_tree_host_impl_unittest.cc#newcode3165 ...
6 years, 8 months ago (2014-04-01 19:30:32 UTC) #7
MuVen
Modified as per review comments. Please take a look. Thanks, MuVen.
6 years, 8 months ago (2014-04-02 02:51:22 UTC) #8
aelias_OOO_until_Jul13
The CQ bit was checked by aelias@chromium.org
6 years, 8 months ago (2014-04-02 06:45:40 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sataya.m@samsung.com/218883005/80001
6 years, 8 months ago (2014-04-02 06:45:48 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-02 08:18:19 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on mac_chromium_rel
6 years, 8 months ago (2014-04-02 08:18:19 UTC) #12
MuVen
The CQ bit was checked by sataya.m@samsung.com
6 years, 8 months ago (2014-04-02 09:16:11 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sataya.m@samsung.com/218883005/90001
6 years, 8 months ago (2014-04-02 09:16:21 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-02 16:40:19 UTC) #15
commit-bot: I haz the power
Retried try job too often on android_aosp for step(s) compile http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_aosp&number=60371
6 years, 8 months ago (2014-04-02 16:40:19 UTC) #16
MuVen
Aelias, Android_aosp has failed ... is it related to us ???
6 years, 8 months ago (2014-04-02 16:58:26 UTC) #17
aelias_OOO_until_Jul13
No, it looks like flakiness. Trying again.
6 years, 8 months ago (2014-04-02 21:04:22 UTC) #18
aelias_OOO_until_Jul13
The CQ bit was checked by aelias@chromium.org
6 years, 8 months ago (2014-04-02 21:04:26 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sataya.m@samsung.com/218883005/90001
6 years, 8 months ago (2014-04-02 21:05:22 UTC) #20
commit-bot: I haz the power
6 years, 8 months ago (2014-04-03 00:35:53 UTC) #21
Message was sent while issue was closed.
Change committed as 261241

Powered by Google App Engine
This is Rietveld 408576698