Keyboard type is set to PHYSICAL while Android IME is used. |
|||
Issue descriptioncrrev.com/c/1285329 changes exo::Keyboard to use OnKeyboardEnabledChanged() and crrev.com/c/1291350 makes ArcInputMethodManagerService use kAndroidDisabled enable flags. These CLs change the passed value to OnKeyboardTypChanged in components/exo/keyboard.cc when Android IME is used. Before these CLs, ArcInputMethodManagerService uses SetKeyboardShowOverride(). It doesn't change return value of keyboard::IsKeyboardEnabled(), but stop KeyboardController showing Chrome OS VK.
,
Oct 22
I'm not sure I full understand the problem, but I apologize for breaking this. Thanks for the workaround. I am definitely in favor of eliminating kAndroidDisabled.
,
Oct 23
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/a5ce12d95631c3e62039479c332e6fdf745eb421 commit a5ce12d95631c3e62039479c332e6fdf745eb421 Author: Yuichiro Hanada <yhanada@chromium.org> Date: Tue Oct 23 04:48:45 2018 Fix keyboard type when Android IME is used. After crrev.com/c/1291350, OnKeyboardEnabledChanged is called with false when Android IME is used. This CL is a workaround for it. For longer term solution, please see the linked bug. Bug: 897655 Test: Gboard shows up in tablet mode. Change-Id: I1047716212f1a4ec782b108fe02cdbef29aa2c6d Reviewed-on: https://chromium-review.googlesource.com/c/1293106 Commit-Queue: Yuichiro Hanada <yhanada@chromium.org> Reviewed-by: Mitsuru Oshima <oshima@chromium.org> Reviewed-by: Steven Bennetts <stevenjb@chromium.org> Cr-Commit-Position: refs/heads/master@{#601851} [modify] https://crrev.com/a5ce12d95631c3e62039479c332e6fdf745eb421/components/exo/keyboard.cc
,
Oct 24
Can you add steps to test this here? I have some additional changes that I would like to test with an Android keyboard.
,
Oct 25
Repro steps are: 1. enable arc-input-method flag from chrome://flags 2. Install Gboard app or some other IMEs from PlayStore 3. Put the device in tablet mode. 4. Enable the installed IME from chrome://settings 5. focus on any text field on Android app or the browser. Note that the feature is implemented only on P. so you need nocturne or eve with recent canary.
,
Oct 26
Confirmed the fix doesn't need to be merged to M-71. Let me close this bug now. |
|||
►
Sign in to add a comment |
|||
Comment 1 by yhanada@chromium.org
, Oct 22