New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 764443 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Oct 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

Typing an accent mark with physical keyboard on Android applies it to a whole series of characters

Project Member Reported by rlanday@chromium.org, Sep 12 2017

Issue description

Every version after https://chromium.googlesource.com/chromium/src/+/c8a5f86ac17908905756c36a9d4ff87439401994 affected
OS: Android

What steps will reproduce the problem?
(1) Set up a Pixel C keyboard iwth "Spanish (US) Google Keyboard" as the layout
(2) Go to editpad.org
(3) Hit the ' key and then type a string of a's

What is the expected result?

Only the first a has an accent mark

What happens instead?

All a's have accent marks

Bisects to https://chromium.googlesource.com/chromium/src/+/c8a5f86ac17908905756c36a9d4ff87439401994
"Allow some InputConnection methods to be called on UI thread"
 
Originally filed as Google-internal b/63562429
Project Member

Comment 2 by bugdroid1@chromium.org, Sep 13 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/7daa5e5c9f19d8fe7f545607d90e656e83ddc3b8

commit 7daa5e5c9f19d8fe7f545607d90e656e83ddc3b8
Author: Ryan Landay <rlanday@chromium.org>
Date: Wed Sep 13 20:39:23 2017

Properly clear pending accent marks after keyboard events on Android

In https://codereview.chromium.org/2299913003, a call to
ThreadInputConnection#commitText(), which clears the pending accent character,
was changed to ImeAdapter#sendCompositionToNative(), which does not. The fix is
to clear the pending accent character after calling sendCompositionToNative().

Bug:  764443 
Change-Id: I2703968d87b25d0c59a7b1210796aa2775a5a7f2
Reviewed-on: https://chromium-review.googlesource.com/663672
Reviewed-by: Changwan Ryu <changwan@chromium.org>
Commit-Queue: Ryan Landay <rlanday@chromium.org>
Cr-Commit-Position: refs/heads/master@{#501742}
[modify] https://crrev.com/7daa5e5c9f19d8fe7f545607d90e656e83ddc3b8/content/public/android/java/src/org/chromium/content/browser/input/ThreadedInputConnection.java
[modify] https://crrev.com/7daa5e5c9f19d8fe7f545607d90e656e83ddc3b8/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java

Labels: M-63
Status: Fixed (was: Started)

Comment 4 by jayhlee@google.com, Sep 22 2017

Labels: ReleaseBlock-Stable Merge-Request-61
Status: Assigned (was: Fixed)
customer needs this fixed in stable, installing canary on all customer devices as a workaround until 63 hits stable is not an acceptable option for them.

Please merge down to beta/stable.
Cc: amineer@chromium.org
Components: UI>Input>Text
Labels: -Merge-Request-61 Merge-Rejected-61
Definitely not getting an M61 merge, so rejecting that.  I am not taking an M62 merge just because one customer that waited over 2 months to provide us feedback related to the issue is escalating this.  If you can provide rationale outside of this, then I'm happy to discuss further.
Labels: -ReleaseBlock-Stable
Not a stable blocker either.
Status: Fixed (was: Assigned)
Will be fixed in M63.

Sign in to add a comment