Open Bug 1885168 Opened 1 year ago Updated 1 year ago

The Translation icon might not displayed right after opening the page from custom tab

Categories

(Firefox for Android :: Translations, defect)

Firefox 125
All
Android
defect

Tracking

()

Tracking Status
firefox125 --- affected
firefox126 --- affected
firefox127 --- affected
firefox128 --- affected
firefox129 --- affected
firefox130 --- affected

People

(Reporter: dpop, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxdroid][foundation])

Attachments

(3 files)

Attached video custom_tab.mp4

Prerequisites

  1. Go to the three-dot menu - Settings - About Firefox Nightly, and tap 5 times on the logo.
  2. Exit the About Firefox Nightly, and go to the Secret Settings.
  3. Enable the "Enable Firefox Translations" toggle.
  4. Set your device's OS to English - US.

Additionally,
5. Make sure Firefox Nightly is set as default browser.
6. Make sure the Fakespot shopping experience is available (enroll in an experiment if needed).

Steps to reproduce

  1. Open a translatable page (e.g. meteo.it, elpais.com) from a 3rd party app (we used gmail).
  2. When the page in opened in the custom tab, tap the 3-dot menu > Open in Firefox Nightly.
  3. Observe if the Translations icon is displayed in the toolbar once the page is opened in browser.

Expected behavior

The translation icon is displayed in the toolbar when the page is opened in Firefox Nightly from a custom tab.

Actual behavior

The translation icon is not always displayed after the page is opened in Firefox Nightly from a custom tab. A refresh is needed in order for the translation icon to be displayed.

Device information

  • Firefox version: Nightly 125.0a1 from 03/13
  • Android devices: Samsung Galaxy S22 Ultra (Android 14), Google Pixel 6 (Android 14)

Additional information

  • This issue is intermittent.
  • On some instances, with a fresh profile, the Translation icon is displayed after opening the page in browser, but the button sheet is not triggered.
  • The issue can also be reproduced with the following STR:
  1. Open a translatable page (e.g. meteo.it, elpais.com) from a 3rd party app (we used gmail).
  2. When the page in opened in the custom tab, tap the 3-dot menu > Enable Desktop mode > Open in Firefox Nightly.
  3. Observe if the Translations icon is displayed in the toolbar once the page is opened in browser in Desktop mode.

Thanks, really great find! I think this might be fixed by bug 1884445 or bug 1885151 which fixed the issue where it missed the offer to translate. (Most likely fixed by bug 1884445.) I tested a few times from Gmail and it seems resolved, but not 100% since this bug is listed as intermittent.

Flags: qe-verify+
See Also: → 1885151, 1884445
Assignee: nobody → giorga

I could still reproduce this issue on the latest Nightly 127.0a1 from 04/17 with Samsung Galaxy S22 Ultra (Android 14), with a clean profile.
The issue would occur if there were no translatable pages opened in Nightly before opening the first translatable page from custom tab.

LE: this is also reproducible with other Samsung devices, but not reproducible with other devices (Google Pixel 8 Pro (Android 14), Poco F5 Pro (Android 13)):

  • Samsung Galaxy A14 (Android 13)
  • Samsung Galaxy A53 5G (Android 14)
Flags: qe-verify+

Since nightly and release are affected, beta will likely be affected too.
For more information, please visit BugBot documentation.

Attached video CustomTabIssue.mp4

I was able to reproduce this issue on Firefox 126 beta 2 after opening http://ebay.it/ in browser from an initial custom tab state, using a Google Pixel 8 with Android 14. The Translate icon appears only after a page refresh. Attaching a video.

Blocks: 1909674
No longer blocks: fx-translation-android
Priority: -- → P3
Priority: P3 → --
Assignee: giorga → nobody
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: