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

Issue 774850 link

Starred by 1 user

Issue metadata

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



Sign in to add a comment

ImeEventObserver is not being set from Tab when relaunched

Reported by sarath.s...@huawei.com, Oct 15 2017

Issue description

Steps to reproduce the problem:
1. Open a new Tab. Open google.com 
2. Tap on search field. Input some characters from Softkeyboard. Then onImeEvent() is received by Tab.
3. Now press Android Home button and Close the app from task-switcher.

4. Launch Chrome. Then Tab will be reopened automatically with google.com
5. Tap on search field, and input from softkeyboard. onImeEvent() is not received by Tab.

What is the expected behavior?
onImeEvent() shall be received by Tab when input is given from softkeyboard.

What went wrong?
new ImeEventObserver is not set when Tab is launched when WebContent is frozen.

Did this work before? N/A 

Chrome version: ToT  Channel: canary
OS Version: 
Flash Version:
 
Project Member

Comment 2 by bugdroid1@chromium.org, Oct 16 2017

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

commit f0569a893aa16bb89ddbf3fd775273de4df343c6
Author: Sarath Singapati <sarath.singapati@huawei.com>
Date: Mon Oct 16 09:38:05 2017

[Android] Update ImeEventObserver from Tab.

When a Tab is reopened automatically when there is a frozen WebContents state,
adding ImeEventObserver is skipped in initialize(), so onImeEvent is not
received by the Tab. This CL moves the functionality to setContentViewCore().

Bug:  774850 
Change-Id: I7c22cf0066d984871dc4ba5184a476cf839232ad
Reviewed-on: https://chromium-review.googlesource.com/720356
Reviewed-by: Jinsuk Kim <jinsukkim@chromium.org>
Reviewed-by: Bernhard Bauer <bauerb@chromium.org>
Commit-Queue: Sohan Jyoti Ghosh <sohan.jyoti@huawei.com>
Cr-Commit-Position: refs/heads/master@{#509004}
[modify] https://crrev.com/f0569a893aa16bb89ddbf3fd775273de4df343c6/AUTHORS
[modify] https://crrev.com/f0569a893aa16bb89ddbf3fd775273de4df343c6/chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java

Labels: Needs-triage-Mobile
Cc: msrchandra@chromium.org
Labels: Needs-Feedback
@sarath.singapati -- Could you please re-check the issue on Latest Canary and let us know if the issue is still reproducible or not.
Thanks in Advance.
Not reproducible on latest canary. Thanks.
Project Member

Comment 6 by sheriffbot@chromium.org, Oct 22 2017

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "msrchandra@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Cc: bauerb@chromium.org jinsuk...@chromium.org
As per Comment# 5, could some one mark the issue as Fixed.
Thank You.
Status: Fixed (was: Unconfirmed)

Sign in to add a comment