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

Issue 666870 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Away
Closed: Jan 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

Snack bar does not show for CustomTabActivities

Project Member Reported by pkotw...@chromium.org, Nov 18 2016

Issue description

Repro steps:
1) Open Chrome.
2) On the FRE, tap "Privacy Notice"
3) Download the same link on the page twice. Do the downloads as quickly as you can back to back.

Expected:
The infobar is flush with the bottom of the screen
Actual:
The infobar is ~20 pixels above the bottom of the screen. After a few seconds the infobar animates to its position flush with the bottom of the screen. It looks like the infobar is making room for the snack bar but that the snack bar is not showing.
I have checked and SnackbarManager#showSnackBar() is called. I was able to repro this bug with https://github.com/GoogleChrome/custom-tabs-client too
 
Screenshot_2016-11-18-14-34-45.png
205 KB View Download
Owner: ian...@chromium.org
Status: Assigned (was: Untriaged)
Assigning the bug to ianwen@ who is the owner for chrome/android/java/src/org/chromium/chrome/browser/snackbar

Comment 2 by ian...@chromium.org, Nov 23 2016

Are you certain this is a custom tab? IIRC the legal notice is a EmbedContentViewActivity.

Comment 3 by ian...@chromium.org, Nov 29 2016

Cc: ian...@chromium.org
Owner: pkotw...@chromium.org
IIRC snackbar and infobars work together well in a pure custom tab.

Peter, could you give me a more clear example? :)
Here's an example of this bug with a custom tab launched via https://github.com/GoogleChrome/custom-tabs-client on a Nexus 5

Repro steps:
1) Launch custom tab via "Custom Tab Demo App"
2) Scroll down to bottom of Google home page
3) Download "Settings" link on the Google home page as quickly as you can back to back
Screenshot_2016-12-01-11-06-15.png
172 KB View Download
Cc: -ian...@chromium.org pkotw...@chromium.org
Owner: ian...@chromium.org
Assigning back to ianwen@

Comment 6 by ian...@chromium.org, Jan 25 2017

Status: Fixed (was: Assigned)
Fixed.

Sign in to add a comment