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

Issue 11016030: cros: Fix missing windows/launcher after resume/screen unlock (Closed)

Created:
8 years, 2 months ago by James Cook
Modified:
8 years, 2 months ago
Reviewers:
DaveMoore, bshe
CC:
chromium-reviews, sadrul, nkostylev+watch_chromium.org, ben+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, Denis Kuznetsov (DE-MUC)
Visibility:
Public.

Description

cros: Fix missing windows/launcher after resume/screen unlock When the screen is locked the desktop wallpaper background widget is pulled "forward" to hide the user's browser windows and the launcher. There is a race condition between a window animation triggered by wallpaper reloading at device resume and code in screen unlock that "pushes" the background back behind the launcher and browsers. There can temporarily be two backgrounds and we need to move them both to the back. The extra one will be cleaned up when the animation completes. See bug for details on the race. I'm working on unit tests for this, but that will require some refactoring and I wanted to keep this patch simple for backport to R23. BUG=149043 TEST=interactive_ui_tests ScreenLocker.*, set option to require password on resume, sleep device (close lid or wait for timeout), resume device, verify you can unlock screen with password Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=159954

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -18 lines) Patch
M ash/desktop_background/desktop_background_controller.cc View 2 chunks +23 lines, -11 lines 0 comments Download
M chrome/browser/chromeos/login/screen_locker.cc View 1 chunk +1 line, -7 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
James Cook
Biao, PTAL. This fixes the repro case you found yesterday (I verified on the device). ...
8 years, 2 months ago (2012-10-03 17:15:40 UTC) #1
bshe
Thanks for fixing it. lgtm On 2012/10/03 17:15:40, James Cook (Chromium) wrote: > Biao, PTAL. ...
8 years, 2 months ago (2012-10-03 17:21:49 UTC) #2
James Cook
Dave, can I get OWNERs approval for my change to chrome/browser/chromeos/login/screen_locker.cc? I'm just removing a ...
8 years, 2 months ago (2012-10-03 17:36:18 UTC) #3
DaveMoore
8 years, 2 months ago (2012-10-03 19:49:28 UTC) #4
lgtm

Powered by Google App Engine
This is Rietveld 408576698