New issue
Advanced search Search tips

Issue 898442 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Nov 15
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

IMF doesn't fire "onSurroundingTextChanged" event when delete the last space of text.

Project Member Reported by wuyingbing@chromium.org, Oct 24

Issue description

Chrome Version: (copy from chrome://version)
OS: ChromeOS M71, M72

What steps will reproduce the problem?
(1) open myinputdemo.appspot.com/inputboxes.html
(2) Input "What steps will reproduce the ", the end is space.
(3) BS to delete the space.

What is the expected result?
IMF should fire onSurroundingTextChange event.

What happens instead?
IMF not fire onSurroundingTextChange event.

 
Summary: IMF doesn't fire "onSurroundingTextChanged" event when delete the last space of text. (was: Don't fire "onSurroundingTextChanged" event when delete the last space of text.)
Project Member

Comment 2 by bugdroid1@chromium.org, Nov 15

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

commit 6d50e57f4c1abb74274b9564816d7415a0a67652
Author: Shu Chen <shuchen@google.com>
Date: Thu Nov 15 02:23:08 2018

Sends events of surrounding text changed to IME not only when the caret bounds
are changed but also when the selection is changed.

Bug:  898442 
Change-Id: I927171f7ded54cad1626e367a33a900e90adc8f4
Reviewed-on: https://chromium-review.googlesource.com/c/1319211
Commit-Queue: Shu Chen <shuchen@chromium.org>
Reviewed-by: Sadrul Chowdhury <sadrul@chromium.org>
Cr-Commit-Position: refs/heads/master@{#608229}
[modify] https://crrev.com/6d50e57f4c1abb74274b9564816d7415a0a67652/content/browser/renderer_host/render_widget_host_view_aura.cc
[modify] https://crrev.com/6d50e57f4c1abb74274b9564816d7415a0a67652/content/browser/renderer_host/render_widget_host_view_aura.h
[modify] https://crrev.com/6d50e57f4c1abb74274b9564816d7415a0a67652/content/browser/renderer_host/render_widget_host_view_aura_unittest.cc

Labels: -M-71 M-72
Status: Fixed (was: Assigned)

Sign in to add a comment