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

Issue 1131243006: Get rid of the huge delay in background resize during rotation (Closed)

Created:
5 years, 7 months ago by afakhry
Modified:
4 years, 10 months ago
Reviewers:
tdanderson, oshima, bshe
CC:
chromium-reviews, kalyank, sadrul
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Get rid of the huge delay in background resize during rotation The delay to start updating the wallpaper after rotating the screen used to be 2 seconds which was also accompanied by unnecessary clearing of the wallpaper cache resulting in an ugly visual effect. Now we reduced the delay to only 100 ms and we only clear the cache when we add another display. BUG=359654 TEST=manual Committed: https://crrev.com/7a1ba5ffc2e68bafbeefc80a76b71f6221601712 Cr-Commit-Position: refs/heads/master@{#329507}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -9 lines) Patch
M ash/desktop_background/desktop_background_controller.h View 1 chunk +3 lines, -2 lines 0 comments Download
M ash/desktop_background/desktop_background_controller.cc View 4 chunks +7 lines, -7 lines 1 comment Download

Messages

Total messages: 15 (3 generated)
afakhry
Hi bshe@, Could you please review this CL?
5 years, 7 months ago (2015-05-11 23:41:04 UTC) #2
afakhry
On 2015/05/11 23:41:04, afakhry wrote: > Hi bshe@, Could you please review this CL? tdanderson@, ...
5 years, 7 months ago (2015-05-11 23:41:40 UTC) #3
bshe
On 2015/05/11 23:41:40, afakhry wrote: > On 2015/05/11 23:41:04, afakhry wrote: > > Hi bshe@, ...
5 years, 7 months ago (2015-05-12 13:19:32 UTC) #4
tdanderson
Strange, I'm not actually seeing the issue reproduce on ToT without your CL. Do you ...
5 years, 7 months ago (2015-05-12 14:54:12 UTC) #5
afakhry
On 2015/05/12 14:54:12, tdanderson wrote: > Strange, I'm not actually seeing the issue reproduce on ...
5 years, 7 months ago (2015-05-12 16:50:01 UTC) #6
afakhry
On 2015/05/12 13:19:32, bshe wrote: > On 2015/05/11 23:41:40, afakhry wrote: > > On 2015/05/11 ...
5 years, 7 months ago (2015-05-12 16:51:32 UTC) #7
bshe
On 2015/05/12 16:51:32, afakhry wrote: > On 2015/05/12 13:19:32, bshe wrote: > > On 2015/05/11 ...
5 years, 7 months ago (2015-05-12 16:53:04 UTC) #8
tdanderson
On 2015/05/12 16:53:04, bshe wrote: > On 2015/05/12 16:51:32, afakhry wrote: > > On 2015/05/12 ...
5 years, 7 months ago (2015-05-12 17:49:16 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1131243006/1
5 years, 7 months ago (2015-05-12 20:58:43 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 7 months ago (2015-05-12 22:19:09 UTC) #12
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/7a1ba5ffc2e68bafbeefc80a76b71f6221601712 Cr-Commit-Position: refs/heads/master@{#329507}
5 years, 7 months ago (2015-05-12 22:19:56 UTC) #13
oshima
5 years, 7 months ago (2015-05-12 22:36:23 UTC) #15
Message was sent while issue was closed.
https://codereview.chromium.org/1131243006/diff/1/ash/desktop_background/desk...
File ash/desktop_background/desktop_background_controller.cc (right):

https://codereview.chromium.org/1131243006/diff/1/ash/desktop_background/desk...
ash/desktop_background/desktop_background_controller.cc:140:
base::Unretained(this), false /* clear cache */));
Sorry if I wasn't clear. We shouldn't need any delay when rotated with 
accelerometer. Delay was added for when rotating using UI (shortcut / settings).

Powered by Google App Engine
This is Rietveld 408576698