Closed Bug 2019753 Opened 2 months ago Closed 1 month ago

The about:translations page does not correctly hide the Translations URL-bar button when switching from another tab

Categories

(Firefox :: Translations, defect, P2)

defect

Tracking

()

VERIFIED FIXED
150 Branch
Tracking Status
firefox-esr140 --- unaffected
firefox148 --- wontfix
firefox149 --- wontfix
firefox150 --- verified

People

(Reporter: nordzilla, Assigned: nordzilla)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Description

The TranslationsParent actor is not valid for the about:translations page, and we do not allow Full-Page Translations on our internal aobut:* pages.

Bug 1970962 seems to have regressed the behavior of hiding the Full-Page Translations button from the URL bar, when switching from a translatable tab to the about:translations page.

This is strange, because the behavior works correctly for other about:* pages, such as about:settings.


Steps to Reproduce

  1. Open the about:translations page.

  2. Open a new tab, and navigate to a translatable page, e.g. https://es.wikipedia.org/wiki/Mozilla_Firefox

  3. Observe that the Translations button appears in the URL bar.

  4. Switch back to the about:translations tab.

Expected Behavior

The Translations button disappears from the URL bar on the about:translations page.

Actual Behavior

The Translations button remains in the URL bar on the about:translations page.

Set release status flags based on info from the regressing bug 1970962

Attachment #9552861 - Attachment description: WIP: Bug 2019753 - Fix Translations URL-Button Hiding → Bug 2019753 - Fix Translations URL-Bar Button Hiding r=sfoster!
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 150 Branch

The patch landed in nightly and beta is affected.
:nordzilla, is this bug important enough to require an uplift?

For more information, please visit BugBot documentation.

Flags: needinfo?(enordin)

While Bug 1970962 technically regressed this behavior for the about:translations page, which used to have custom logic to hide the Translations URL-bar button, this behavior has existed for unprivileged content about:* pages, such as about:about, for a long time. I tested as far back as January 1, 2025 with mozregression.

This has likely been an issue since the beginning of the Translations feature, just one that is very unlikely to occur due to the infrequency of visits to those kinds of internal pages only after visiting a translatable page in the same Firefox window where the button shows.

I don't think we need to uplift this.

Priority: -- → P2
QA Whiteboard: [qa-triage-done-c151/b150] [qa-ver-needed-c151/b150]
QA Contact: cgeorgiu

Reproduced this issue with an affected Nightly build (2026-02-26) on Win 11.

The issue is verified as fixed on Beta 150.0b1 under Win 11, macOS 26 and Ubuntu 24.

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-triage-done-c151/b150] [qa-ver-needed-c151/b150] → [qa-triage-done-c151/b150] [qa-ver-done-c151/b150]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: