Fenix: [Bug] Custom tab share icon looks off-scaled (enlarged)

Created on 6 May 2020  ·  9Comments  ·  Source: mozilla-mobile/fenix

Steps to reproduce

  1. Set Fenix as default browser. Open a custom tab.
  2. From a custom tab, open the link in Fenix.

Expected behavior

Share icon doesn't look off-scaled compared to the three dot settings menu icon

Actual behavior

ScreenshotUNITO-UNDERSCORE!20200506-155059!

Device information

  • Android device: ?
  • Fenix version: ?
CustomTabs web-content engverified ac 🐞 bug

Most helpful comment

@Tajnymag thank you!
STR:

  1. Nightly is set as the default browser.
  2. Install Feedly from GP
  3. Open an article.
  4. Open a link from that article in order to open the Nightly custom tab.

Results: the share icon is enlarged.

All 9 comments

Hi, I can't reproduce your issue using the latest version of Firefox Preview Nightly 5/7 #21280606.

Devices:

  • Google Pixel 3 (Android 10);
  • Samsung Galaxy Note 8 (Android 9).

@psymoon Can you retest using the latest version of Firefox Preview Nightly? Also, do you have more details about your issue so I can reproduce it?

It depends on the third party app that opens a custom tab. The app can give us an icon to show in some cases as well, and we should probably scale it down if needed. I don't think this is our own share icon.

I can reproduce the same behavior when opening an article in Feedly. Can confirm that other apps behave correctly.

Firefox should still downscale the icon though.

I cannot find a website where I can reproduce this. Can QA please retest this? Thank you!

Tested on the latest Nightly and couldn't reproduce the issue following the exact website from the description (link opened from Gmail). Tested with other websites, without any luck.
@psymoon this is still reproducible for you? If yes, do you have extra steps?

Yup, it's still reproducible. For example in Feedly

Screenshot_20200928-194904.jpg

@Tajnymag thank you!
STR:

  1. Nightly is set as the default browser.
  2. Install Feedly from GP
  3. Open an article.
  4. Open a link from that article in order to open the Nightly custom tab.

Results: the share icon is enlarged.

Verified as fixed on Nightly 10/8 with Samsung Galaxy Note 10 (Android 10).

Was this page helpful?
0 / 5 - 0 ratings