Closed Bug 1835344 Opened 11 months ago Closed 10 months ago

Ensure no translations UI is shown on unsupported CPUs

Categories

(Firefox :: Translations, task, P3)

task

Tracking

()

RESOLVED FIXED
116 Branch
Tracking Status
firefox116 --- fixed

People

(Reporter: marco, Assigned: nordzilla)

References

Details

Attachments

(1 file)

We won't get to bug 1811908 in time for the first release, so we need to make sure we are not showing any affordance to trigger translations on machines with unsupported CPUs.

The icon shouldn't show up since we test for support, but the "Translate page" option will most likely be in the app menu.

Ah, I forgot I implemented the following pref: browser.translations.simulateUnsupportedEngine

This would be good to check this bug.

I've just tested this on the same VM I used to capture and display this error in the addon and can confirm that in the built-in version, the pageAction icon is not displayed, but the Translate page option in the hamburger menu is, which if clicked opens the translate popup. Still, a subsequent translation action fails, as expected.

We should probably remove it from the app menu when it's not supported then.

Priority: -- → P3
Assignee: nobody → enordin

Ensures that the translations panel cannot be opened if the
translations engine is not supported.

Depends on D179332

Attachment #9339637 - Attachment description: WIP: Bug 1835344 - Ensure translations panel respects engine support → Bug 1835344 - Ensure translations panel respects engine support r=gregtatum!
Pushed by enordin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/61c56bf5a7ff
Ensure translations panel respects engine support r=gregtatum
Status: NEW → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: