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

Issue 521463005: Make SetState be called later when screen is unlocking. (Closed)

Created:
6 years, 3 months ago by Shu Chen
Modified:
6 years, 3 months ago
Reviewers:
Alexander Alekseev
CC:
chromium-reviews, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Make SetState be called later when screen is unlocking. The bug's root cause is SetState is called too early when screen is unlocking and IMF thinks the current UI session is still LOCK screen so it won't persist the active input method. BUG=409500 TEST=Verified on Pixel. Committed: https://crrev.com/291335572d8d59633307793ee85ffda966ac182c Cr-Commit-Position: refs/heads/master@{#292891}

Patch Set 1 #

Total comments: 3

Patch Set 2 : #

Total comments: 2

Patch Set 3 : revised per comments. #

Total comments: 1

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -5 lines) Patch
M chrome/browser/chromeos/login/lock/screen_locker.cc View 1 2 3 2 chunks +6 lines, -5 lines 0 comments Download

Messages

Total messages: 12 (2 generated)
Shu Chen
Alex, can you please review this cl? Thanks
6 years, 3 months ago (2014-09-01 05:16:34 UTC) #2
Alexander Alekseev
https://codereview.chromium.org/521463005/diff/1/chrome/browser/chromeos/login/lock/screen_locker.cc File chrome/browser/chromeos/login/lock/screen_locker.cc (right): https://codereview.chromium.org/521463005/diff/1/chrome/browser/chromeos/login/lock/screen_locker.cc#newcode486 chrome/browser/chromeos/login/lock/screen_locker.cc:486: imm->GetActiveIMEState()->EnableLockScreenLayouts(); Why do you need this change? This breaks ...
6 years, 3 months ago (2014-09-01 12:24:43 UTC) #3
Shu Chen
https://codereview.chromium.org/521463005/diff/1/chrome/browser/chromeos/login/lock/screen_locker.cc File chrome/browser/chromeos/login/lock/screen_locker.cc (right): https://codereview.chromium.org/521463005/diff/1/chrome/browser/chromeos/login/lock/screen_locker.cc#newcode486 chrome/browser/chromeos/login/lock/screen_locker.cc:486: imm->GetActiveIMEState()->EnableLockScreenLayouts(); On 2014/09/01 12:24:43, alemate wrote: > Why do ...
6 years, 3 months ago (2014-09-01 13:37:53 UTC) #4
Alexander Alekseev
https://codereview.chromium.org/521463005/diff/1/chrome/browser/chromeos/login/lock/screen_locker.cc File chrome/browser/chromeos/login/lock/screen_locker.cc (right): https://codereview.chromium.org/521463005/diff/1/chrome/browser/chromeos/login/lock/screen_locker.cc#newcode486 chrome/browser/chromeos/login/lock/screen_locker.cc:486: imm->GetActiveIMEState()->EnableLockScreenLayouts(); On 2014/09/01 13:37:53, Shu Chen wrote: > On ...
6 years, 3 months ago (2014-09-01 13:50:06 UTC) #5
Shu Chen
https://codereview.chromium.org/521463005/diff/20001/chrome/browser/chromeos/login/lock/screen_locker.cc File chrome/browser/chromeos/login/lock/screen_locker.cc (right): https://codereview.chromium.org/521463005/diff/20001/chrome/browser/chromeos/login/lock/screen_locker.cc#newcode209 chrome/browser/chromeos/login/lock/screen_locker.cc:209: user_manager::UserManager::Get()->SwitchActiveUser( On 2014/09/01 13:50:06, alemate wrote: > You need ...
6 years, 3 months ago (2014-09-01 13:52:58 UTC) #6
Alexander Alekseev
https://codereview.chromium.org/521463005/diff/40001/chrome/browser/chromeos/login/lock/screen_locker.cc File chrome/browser/chromeos/login/lock/screen_locker.cc (right): https://codereview.chromium.org/521463005/diff/40001/chrome/browser/chromeos/login/lock/screen_locker.cc#newcode209 chrome/browser/chromeos/login/lock/screen_locker.cc:209: saved_ime_state_ = NULL; If user is active, we actually ...
6 years, 3 months ago (2014-09-01 13:57:06 UTC) #7
Alexander Alekseev
lgtm for CL #4.
6 years, 3 months ago (2014-09-01 13:57:19 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shuchen@chromium.org/521463005/60001
6 years, 3 months ago (2014-09-01 14:31:51 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:60001) as 5a965a8b10a6e0d0602feb0a0798d16de3f83580
6 years, 3 months ago (2014-09-01 19:43:54 UTC) #11
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:17:28 UTC) #12
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/291335572d8d59633307793ee85ffda966ac182c
Cr-Commit-Position: refs/heads/master@{#292891}

Powered by Google App Engine
This is Rietveld 408576698