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

Issue 911089 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 861618
Owner:
Closed: Dec 27
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug-Regression



Sign in to add a comment

WebAPK display-mode should go back to the previous standalone view from minimal-ui after coming back from different domain

Reported by abhishek...@gmail.com, Dec 3

Issue description

Steps to reproduce the problem:
1. On Chrome for Android, go to a website like flipkart.com and install the WebAPK that has display standalone view
1. Try to go to an experience that open different domain (to trigger minimal-ui view), such as the checkout flow (here, select netbanking payment option that would take you to a different domain, example State Bank of India)
2. Try to login in with some credentials (you can attempt with any incorrect random credential and do a login for a form post to happen)
3. Press back to cancel the flow and try to land back on origin WebAPK domain (eg. flipkart.com). You can select back when you get the confirm form submission page.
4. Notice that the view should have gone back to standalone (no browser chrome -  as was before starting this example payment flow) but it's stuck in minimal-ui

A video showing this problem and the steps to reproduce it is captured here: https://youtu.be/kxuGJsJGcEc

What is the expected behavior?
The view should go back to standalone display mode.

What went wrong?
* While it should have been display:standalone, the UI chrome got stuck in minimal-ui chrome which was also non-responsive (the "x" button is unclickable)
* Using the display-mode media query (https://developers.google.com/web/fundamentals/app-install-banners/#detect-mode), the browser reports it as 'standalone' but visually it's still minimal-ui (this is bad because this way some logic on the website like a "progress bar" can break, now showing two progress bars)

Did this work before? N/A 

Chrome version: 70.0.3538.110  Channel: stable
OS Version: Android 8.1.0
Flash Version:
 
Attaching video
Note: All personal information (username, password, contact info) in the video are fake 
Flipkart_Minimal_UI_Issue.mp4
5.6 MB View Download
Labels: Needs-triage-Mobile
Cc: pkotw...@chromium.org yfried...@chromium.org chelamcherla@chromium.org
Components: Mobile>WebAPKs
Labels: -Type-Bug -Pri-2 hasbisect-per-revision RegressedIn-70 ReleaseBlock-Stable Target-70 Target-71 Target-72 Target-73 M-70 FoundIn-71 FoundIn-70 FoundIn-73 FoundIn-72 Pri-1 Type-Bug-Regression
Status: Untriaged (was: Unconfirmed)
Tested the issue in Android and able to reproduce the issue. 

Steps Followed:
1. Navigated to flipkart.com, added to homescreen
2. Opened it from homescreen, logged in , added item to cart, proceeded with netbanking 
3. Clicked back and observed flipkart webapk in cct mode, on clicking on "x" icon nothing happens

Chrome versions tested:
70.0.3538.110

OS:
Android 9.0.0

Android Devices:
Pixel 2

Using the per-revision bisect providing the bisect results,
Good Build - 70.0.3524.0
Bad Build - 70.0.3525.0 

Manual CL: https://chromium.googlesource.com/chromium/src/+log/70.0.3524.0..70.0.3525.0?pretty=fuller&n=10000

On performing per-revision bisect we got the result as "You are looking for a change made after 583638(GOOD), but before 583756(BAD)." We have almost 100 changes in between good and bad and bad  583756 doesn't point to appropriate change.

Hence adding appropriate label and requesting 	yfriedman@ or pkotwicz@ for further help in triaging. Adding RB-Stable for M-70. Please remove if this is not the case.

Thanks!

Labels: -Target-70 -Target-71
Not blocking the 71 stable roll out for this.
Cc: -chelamcherla@chromium.org sindhu.chelamcherla@chromium.org sbirch@chromium.org
Labels: -Pri-1 -Target-73 Pri-2
Status: Available (was: Untriaged)
Thanks for the report. As Ben said, I don't think this should be RBS (no functional regression, not clear this is common, 71 is already rolling out), but I'll mark it for the next release.
Labels: -ReleaseBlock-Stable
Cc: bokan@chromium.org
Is this possibly similar cause as  issue 861618 
Labels: need
chelamcherla@: can you check tomorrow if this reproduces in the canary build from tonight? I'm curious whether the cl which landed for that issue resolves this
Owner: bokan@chromium.org
Status: Assigned (was: Available)
 Bug 861618  still has an issue for which I have a fix. I'll try tomorrow to see if I can repro this issue if and if the same fix helps here.
Mergedinto: 861618
Status: Duplicate (was: Assigned)
I've confirmed the issue and that it's fixed in Canary. Please let me know if you're still seeing it.

Sign in to add a comment