New issue
Advanced search Search tips

Issue 657917 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Feb 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

Custom chrome tabs erases text area input when switching activities

Project Member Reported by mfo...@chromium.org, Oct 20 2016

Issue description

Version: Chrome 53.0.2785.124 
OS: Android 7.0

What steps will reproduce the problem?
(1) Open http://westseattleblog.com/2016/10/bicycle-rider-taken-to-hospital-after-47thgenesee-incident/ in a link from the Twitter app in a custom chrome tab
(2) Type a long comment into the text area at the bottom of the page
(3) Switch to regular Chrome to copy-paste some text into the comment I'm editing

What is the expected output?

When I switch back to Twitter (open to the custom tab), the text I typed is still in the text box.

What do you see instead?

The page refreshes and the text disappears.  I want to throw tablet across table.

Please use labels and text to provide additional information.

 

Comment 1 by jay...@chromium.org, Oct 21 2016

Cc: tedc...@chromium.org yus...@chromium.org
Status: Available (was: Untriaged)
Hi! Thanks for taking the time to report this, and I'm very sorry to hear that you're having problems with Chrome custom tabs. 

I was able to reproduce this after opening ~10 tabs in Chrome and then returning to the Twitter custom tab on my Nexus 9 (Android 7.0 / NRD90M). But I believe this is working as expected and is by design in Chrome. Opening multiple tabs in Chrome and then returning to a previous tab will also reload the page. CC'ing yusufo@ and tedchoc@ to comment further.

Cc: lizeb@chromium.org
Chrome on Android has a general issue that we can only keep so many tabs in memory before Android begins killing them.  Ideally, we could keep at least two in memory though (one being CCT, the other Chrome).

When you switched to Chrome, were you already on the tab that contained the text you wanted to copy or did you end up having to switch through multiple tabs to get there?

The more tabs you visit the more likely the other tabs will get killed in the background.

+lizeb@ as they'll know more about the process priority

While I have no idea if it will help, I added tab persistence to Custom Tabs in M54, and I "believe" that it attempts to save text entered into the tab when doing a restore.  So maybe this will get better in the next release.

Comment 3 by mfo...@chromium.org, Oct 21 2016

In Chrome, I think I opened a new tab and did a Web search to find the text to copy-paste.

I'm accustomed to text area persistence across navigation and am surprised it's not fully supported on session restore.


Project Member

Comment 4 by sheriffbot@chromium.org, Oct 23 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: WontFix (was: Untriaged)
We've added the same restore logic as Chrome to CCT, so I don't think there is anything more we can do here if it is still a problem.

You could try with "Don't keep activities" in Android to verify, but if it still happens, we should file a general bug about restore and not about CCT.

Sign in to add a comment