New issue
Advanced search Search tips

Issue 752628 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: Aug 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug

Blocking:
issue 539536



Sign in to add a comment

Chrome Dev on Pixel C ignores everything after first character when typing on bluetooth keyboard

Project Member Reported by jeffcarp@chromium.org, Aug 4 2017

Issue description

Chrome Version: 61.0.3163.27
OS: Android 7.1.2 on Pixel C

What steps will reproduce the problem?
(1) Focus in omnibox
(2) Using a bluetooth keyboard, type "google"

What is the expected result?

The term "google" shows up in the omnibox.

What happens instead?

Only the character "g" shows up, the rest of the inputs are ignored.
 
Cc: changwan@chromium.org
CC changwan in case it's related to your work
Labels: Needs-Feedback
jeffcarp: is this issue specific to the omnibox? Your title suggests that this may be more general.
It's just in the omnibox, typing elsewhere on the page is fine.
Also confirmed that Chrome 60.0.3112.78 on the same device doesn't show this problem.
Cc: -changwan@chromium.org tedc...@chromium.org
Labels: -Pri-3 M-61 OS-Android Pri-2
Owner: changwan@chromium.org
Status: Assigned (was: Untriaged)
jeffcarp@, I think you can turn off SpannableInlineAutocomplete by going to about:flags for now. Let me know if it doesn't work. Sorry about the trouble.
changwan@ disabling that option works! No problem at all, thanks!
Labels: -Needs-Feedback
Project Member

Comment 8 by bugdroid1@chromium.org, Aug 8 2017

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

commit db78f6caf88fc4fc43206965cf4901754d987a13
Author: Changwan Ryu <changwan@chromium.org>
Date: Tue Aug 08 14:18:46 2017

Fix a bug in the new autocomplete model for physical keyboard

It seems that TextView#dispatchKeyEvent() ends up prepending the typed
character in the same span right behind it, messing up the span index
value. Changing the flag from INTERMEDIATE to SPAN_EXCLUSIVE_EXCLUSIVE
ensures that the span does not expand to other part of the text.

BUG= 752628 

Change-Id: I7472db63565c7069d0151d6cb12310d3ebf7a858
Reviewed-on: https://chromium-review.googlesource.com/604489
Reviewed-by: Ted Choc <tedchoc@chromium.org>
Commit-Queue: Changwan Ryu <changwan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#492616}
[modify] https://crrev.com/db78f6caf88fc4fc43206965cf4901754d987a13/chrome/android/java/src/org/chromium/chrome/browser/omnibox/SpannableAutocompleteEditTextModel.java
[modify] https://crrev.com/db78f6caf88fc4fc43206965cf4901754d987a13/chrome/android/junit/src/org/chromium/chrome/browser/omnibox/AutocompleteEditTextTest.java

Blocking: 539536
Labels: Merge-Request-61
requesting merge of #8 into m61
Project Member

Comment 10 by sheriffbot@chromium.org, Aug 8 2017

Labels: -Merge-Request-61 Merge-Review-61 Hotlist-Merge-Review
This bug requires manual review: M61 has already been promoted to the beta branch, so this requires manual review
Please contact the milestone owner if you have questions.
Owners: amineer@(Android), cmasso@(iOS), ketakid@(ChromeOS), govind@(Desktop)

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
FYI, #8 only affects dev 10% experiment group who uses pixel C or physical keyboard.
Labels: -Merge-Review-61 Merge-Approved-61
Approved for M61 branch 3163.
Labels: -Merge-Approved-61
Status: Fixed (was: Assigned)
talked to amineer@ offline, decided not to merge as m62 dev will be released soon enough.

Comment 14 by wfh@chromium.org, Aug 10 2017

 Issue 754146  has been merged into this issue.

Comment 15 by wfh@chromium.org, Aug 10 2017

Cc: wfh@chromium.org
Are you sure this doesn't need merging to m61? See  Issue 754146  I can repro on 61.0.3163.27
This is dev-only experiment, and m62 dev will come out around next Tuesday.

Sign in to add a comment