New issue
Advanced search Search tips

Issue 837631 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Jul 3
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

viewing auto-fill settings from a chrome plate breaks when going back

Project Member Reported by johannko...@google.com, Apr 27 2018

Issue description

Chrome Version: 66.0.3359.126
OS: Android 7.1.1

What steps will reproduce the problem?
(1) Search for a website with a login from GSA, say "lending club"
(2) Find the login page (top right "menu", sign in"
(3) Tap the "enter your email address" box
(4) Tap "Autofill settings"
(5) Tap the back arrow in the top left

What is the expected result?
Back to Lending Club login page

What happens instead?
Back to chrome browser app



Please use labels and text to provide additional information.

If this is a regression (i.e., worked before), please consider using the
bisect tool (https://www.chromium.org/developers/bisect-builds-py) to help
us identify the root cause and more rapidly triage the issue.

For graphics-related bugs, please copy/paste the contents of the about:gpu
page at the end of this report.


 
Components: UI>Browser>Mobile>CustomTabs
Status: Unconfirmed (was: Untriaged)
Cc: tedc...@chromium.org
Components: UI>Browser>Autofill
Status: Untriaged (was: Unconfirmed)
I think this is another instance where we're trying to open an activity without having a context, so we set FLAG_ACTIVITY_NEW_TASK and FLAG_ACTIVITY_CLEAR_TOP, which clears the rest of the activity stack. Does that sound right, Ted?

In that case, I think ChromeAutofillClient::ShowAutofillSettings() should get the activity from the web_contents (similar to how it gets the Browser on other platforms) and use that to launch preferences.
Yeah, that does indeed sound right.

GetTopLevelNativeWindow on the WebContents will get you a WindowAndroid, which has getActivity() on it.

Alternatively if we wanted the quick, dirty solution, you could probably also use ApplicationStatus.getLastTrackedFocusedActivity.  But we should really do as Bernhard recommends and get it from the WebContents.

We should also fix showPasswordSettings too.
Owner: amalova@chromium.org
Status: Started (was: Untriaged)
Status: Fixed (was: Started)

Sign in to add a comment