Closed Bug 1893336 Opened 5 months ago Closed 5 months ago

Ensure that SelectTranslationPanel closes when opening a new tab

Categories

(Firefox :: Translations, enhancement, P3)

enhancement

Tracking

()

VERIFIED FIXED
127 Branch
Tracking Status
firefox127 --- verified

People

(Reporter: nordzilla, Assigned: nordzilla)

References

Details

Attachments

(1 file)

Description

The SelectTranslationsPanel is a panel that is opened at an arbitrary location on screen, tied to a specific piece of web content.

Switching to a new tab, or navigating to another page, would not make sense to keep the panel open.

We need to ensure that the panel closes in this scenario.


Steps to implement

  • Add tabspecific="true" to the SelectTranslationsPanel markup.
  • Add locationspecific="true" to the SelectTranslationsPanel markup.

Tests to implement

  • Add a test that opens the panel and then opens a new tab, ensuring the panel closes.

Ensures that the SelectTranslationsPanel correctly
closes when a new tab is opened while the panel is
still open.

Pushed by enordin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c81afe8dce3a Ensure SelectTranslationsPanel closes on new tab r=translations-reviewers,gregtatum
Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
Flags: qe-verify+
QA Contact: dbodea

Tested this issue on Firefox nighlty 128.0a1 and on Firefox beta 127.0b9 (flipping pref browser.translations.select.enable = true), I can confirm the issue is fixed, verified on Windows 10, Ubuntu 22 and on macOS 12, the panel closes in this scenario.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: