New issue
Advanced search Search tips

Issue 820765 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

Chrome has weird behavior when going back and reactivating via recents

Project Member Reported by pkotw...@chromium.org, Mar 11 2018

Issue description

Chrome Stable 65.0.3325.109

Repro steps:
1) Force Stop Chrome.
2) Launch GMail.
3) Find a link. Long press the link and select "Open in Browser". This should launch Chrome
4) Press "Back"
5) Open "Android Recents". Notice that Chrome is in "Android Recents"
6) Tap Chrome in "Android Recents"

Expected:
Either tapping "Android Recents" does nothing or tapping on Chrome in "Android Recents" brings me back to Chrome navigated to the link I tapped on
Actual:
Chrome is focused. The tab that I was looking at is killed. I am left looking at the "add tab" Chrome UI.


 
I found this issue as a result of investigating why selecting a WebAPK from Android Recents that I had backed out of immediately kills the WebAPK.
Owner: tedc...@chromium.org
Status: Assigned (was: Untriaged)
Assigning to tedchoc@ for triage

Cc: tedc...@chromium.org dtrainor@chromium.org
Labels: Needs-TestConfirmation
Owner: ----
Status: Untriaged (was: Assigned)
Adding for test confirmation to see if this is a regression issue or recent change in behavior.

I suspect Chrome has "always" behaved this way.

https://cs.chromium.org/chromium/src/chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java?q=ChromeTabbedActivi&sq=package:chromium&l=1948

That snippet of code specifically doesn't close the tab till after you leave Chrome because we don't want a flicker during the exit transition.  That will result in Android grabbing a screen grab of the old tab making recents look weirder.  If there was a way to force a new screenshot, then we could likely work around this, but I suspect this hasn't changed and likely is the best we can do.

+dtrainor for any historical recollection here.

Sign in to add a comment