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

Issue 2901443002: Do not skip updating composition info on Mac. (Closed)

Created:
3 years, 7 months ago by Shuhei Takahashi
Modified:
3 years, 6 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, kinaba, krajshree_chromium.org, mlamouri+watch-content_chromium.org, yukawa
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Do not skip updating composition info on Mac. This is a temporary workaround for crbug.com/714771 introduced in https://codereview.chromium.org/2121953002. The original change was intended to optimize IME performance on Android, but during its review, the author was suggested to apply it to all platforms, and the platform guard was removed without manual checking on other platforms. It unfortunately broke Japanese IME input in text boxes inside <webview> on Mac. The issue was not very visible for long time though it was first introduced in M54, possibly because it only affected text inputs inside <webview>. However it has come to attention of users after Electron rebased its Chromium to 54+ which extensively uses <webview>. This change essentially disables the optimization introduced in the original change only when OOPIF is disabled on Mac (the issue does not reproduce if OOPIF is enabled). This workaround should be removed once we have a proper fix to support <webview>, or OOPIF is fully launched. BUG=chromium:714771 TEST=Repro steps in crbug.com/714771 work fine regardless of whether OOPIF is enabled or disabled (set at chrome://flags)

Patch Set 1 #

Patch Set 2 : Apply the guard only when OOPIF is disabled on Mac. #

Total comments: 4

Patch Set 3 : Update comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -1 line) Patch
M content/renderer/render_widget.cc View 1 2 1 chunk +11 lines, -1 line 0 comments Download

Messages

Total messages: 39 (20 generated)
Shuhei Takahashi (google)
nona: PTAL
3 years, 7 months ago (2017-05-22 04:11:21 UTC) #7
Shuhei Takahashi (google)
aelias: PTAL
3 years, 7 months ago (2017-05-22 04:26:44 UTC) #9
aelias_OOO_until_Jul13
You want this workaround in for M60, but ekaramad@ said http://crbug.com/655753 will fix it and ...
3 years, 7 months ago (2017-05-22 20:01:33 UTC) #10
Shuhei Takahashi (google)
On 2017/05/22 20:01:33, aelias wrote: > You want this workaround in for M60, but ekaramad@ ...
3 years, 7 months ago (2017-05-23 00:25:43 UTC) #11
aelias_OOO_until_Jul13
OK, then please have both the check for Mac and a check for the deprecated ...
3 years, 7 months ago (2017-05-23 00:42:32 UTC) #12
Shuhei Takahashi (google)
On 2017/05/23 00:42:32, aelias wrote: > OK, then please have both the check for Mac ...
3 years, 7 months ago (2017-05-23 00:46:59 UTC) #13
Shuhei Takahashi
Updated the change and tested on Mac with OOPIF enabled/disabled. PTAL.
3 years, 7 months ago (2017-05-23 09:21:42 UTC) #21
aelias_OOO_until_Jul13
lgtm modulo comment nits https://codereview.chromium.org/2901443002/diff/20001/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/2901443002/diff/20001/content/renderer/render_widget.cc#newcode1846 content/renderer/render_widget.cc:1846: // On Mac without OOPIF, ...
3 years, 7 months ago (2017-05-23 18:14:48 UTC) #22
aelias_OOO_until_Jul13
Wait, sorry, not lgtm yet. https://codereview.chromium.org/2901443002/diff/20001/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/2901443002/diff/20001/content/renderer/render_widget.cc#newcode1850 content/renderer/render_widget.cc:1850: base::FeatureList::IsEnabled(::features::kGuestViewCrossProcessFrames); Please check that ...
3 years, 7 months ago (2017-05-23 18:19:25 UTC) #23
EhsanK
https://codereview.chromium.org/2901443002/diff/20001/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/2901443002/diff/20001/content/renderer/render_widget.cc#newcode1850 content/renderer/render_widget.cc:1850: base::FeatureList::IsEnabled(::features::kGuestViewCrossProcessFrames); On 2017/05/23 18:19:25, aelias wrote: > Please check ...
3 years, 7 months ago (2017-05-23 18:39:50 UTC) #25
aelias_OOO_until_Jul13
On 2017/05/23 at 18:39:50, ekaramad wrote: > > ekaramad@, what is the way to check ...
3 years, 7 months ago (2017-05-23 19:15:23 UTC) #26
EhsanK
Sorry I misread the question. I think it is not (and should not be) possible ...
3 years, 7 months ago (2017-05-23 19:45:17 UTC) #28
Shuhei Takahashi (google)
Meanwhile I've updated the comment as per aelias's suggestions.
3 years, 7 months ago (2017-05-24 03:51:58 UTC) #31
lfg
On 2017/05/23 19:45:17, EhsanK wrote: > Sorry I misread the question. I think it is ...
3 years, 7 months ago (2017-05-24 17:23:29 UTC) #34
aelias_OOO_until_Jul13
OK, in that case, I would suggest sending InputMsg_RequestCompositionUpdates(false, true) from BrowserPlugin side during initialization ...
3 years, 7 months ago (2017-05-24 18:10:04 UTC) #35
EhsanK
On 2017/05/24 18:10:04, aelias wrote: > OK, in that case, I would suggest sending > ...
3 years, 6 months ago (2017-05-25 19:02:46 UTC) #36
Shuhei Takahashi (google)
On 2017/05/25 19:02:46, EhsanK wrote: > On 2017/05/24 18:10:04, aelias wrote: > > OK, in ...
3 years, 6 months ago (2017-05-26 05:57:14 UTC) #37
aelias_OOO_until_Jul13
Sounds good to me. I agree <webview> tag usage on Mac outside of Electron is ...
3 years, 6 months ago (2017-05-26 18:36:21 UTC) #38
lfg
3 years, 6 months ago (2017-05-26 18:38:12 UTC) #39
Message was sent while issue was closed.
On 2017/05/26 18:36:21, aelias wrote:
> Sounds good to me.  I agree <webview> tag usage on Mac outside of Electron is
> likely to be very low anyway.  Thanks for working on it.

FYI, we are on track for launching <webview> on top of the OOPIF architecture
for M60, and as noted by ekaramad on bug 714771, this will also resolve the
issue.

Powered by Google App Engine
This is Rietveld 408576698