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

Issue 2570623005: ARC IME: Fix crash on shutdown due to wrong focus management. (Closed)

Created:
4 years ago by kinaba
Modified:
4 years ago
Reviewers:
hidehiko
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, hidehiko+watch_chromium.org, lhchavez+watch_chromium.org, yusukes+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ARC IME: Fix crash on shutdown due to wrong focus management. It didn't properly detach from the input method when ARC lost focus and no other text input client took focus until shutdown. BUG=673809 TEST=ArcImeServiceTest.WindowFocusTracking Committed: https://crrev.com/10bd93d340ced0160d8faf676812ee5c9a89f0fd Cr-Commit-Position: refs/heads/master@{#438720}

Patch Set 1 #

Patch Set 2 : Fix test #

Total comments: 8

Patch Set 3 : () for nullary new #

Patch Set 4 : Rebase onto fakearcbridge removal #

Patch Set 5 : Add a TODO comment on confusing usage of GetInputMethod #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -22 lines) Patch
M components/arc/ime/arc_ime_service.cc View 1 2 3 4 3 chunks +21 lines, -9 lines 0 comments Download
M components/arc/ime/arc_ime_service_unittest.cc View 1 2 3 7 chunks +23 lines, -13 lines 0 comments Download

Messages

Total messages: 37 (29 generated)
kinaba
PTAL: hidehiko@ https://codereview.chromium.org/2570623005/diff/20001/components/arc/ime/arc_ime_service_unittest.cc File components/arc/ime/arc_ime_service_unittest.cc (right): https://codereview.chromium.org/2570623005/diff/20001/components/arc/ime/arc_ime_service_unittest.cc#newcode252 components/arc/ime/arc_ime_service_unittest.cc:252: EXPECT_EQ(nullptr, fake_input_method_->GetTextInputClient()); note: this assert will fail ...
4 years ago (2016-12-14 09:02:40 UTC) #6
hidehiko
https://codereview.chromium.org/2570623005/diff/20001/components/arc/ime/arc_ime_service.cc File components/arc/ime/arc_ime_service.cc (right): https://codereview.chromium.org/2570623005/diff/20001/components/arc/ime/arc_ime_service.cc#newcode145 components/arc/ime/arc_ime_service.cc:145: if (detaching_ime != attaching_ime) { I'm now slightly confused. ...
4 years ago (2016-12-14 09:25:27 UTC) #9
kinaba
https://codereview.chromium.org/2570623005/diff/20001/components/arc/ime/arc_ime_service.cc File components/arc/ime/arc_ime_service.cc (right): https://codereview.chromium.org/2570623005/diff/20001/components/arc/ime/arc_ime_service.cc#newcode145 components/arc/ime/arc_ime_service.cc:145: if (detaching_ime != attaching_ime) { On ChromeOS as of ...
4 years ago (2016-12-14 12:12:56 UTC) #16
hidehiko
LGTM. https://codereview.chromium.org/2570623005/diff/20001/components/arc/ime/arc_ime_service.cc File components/arc/ime/arc_ime_service.cc (right): https://codereview.chromium.org/2570623005/diff/20001/components/arc/ime/arc_ime_service.cc#newcode145 components/arc/ime/arc_ime_service.cc:145: if (detaching_ime != attaching_ime) { On 2016/12/14 12:12:56, ...
4 years ago (2016-12-14 15:27:22 UTC) #19
kinaba
https://codereview.chromium.org/2570623005/diff/20001/components/arc/ime/arc_ime_service.cc File components/arc/ime/arc_ime_service.cc (right): https://codereview.chromium.org/2570623005/diff/20001/components/arc/ime/arc_ime_service.cc#newcode145 components/arc/ime/arc_ime_service.cc:145: if (detaching_ime != attaching_ime) { On 2016/12/14 15:27:22, hidehiko ...
4 years ago (2016-12-15 00:58:41 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2570623005/100001
4 years ago (2016-12-15 02:54:14 UTC) #32
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years ago (2016-12-15 03:03:56 UTC) #35
commit-bot: I haz the power
4 years ago (2016-12-15 03:05:56 UTC) #37
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/10bd93d340ced0160d8faf676812ee5c9a89f0fd
Cr-Commit-Position: refs/heads/master@{#438720}

Powered by Google App Engine
This is Rietveld 408576698