Open Bug 1718876 Opened 3 years ago Updated 1 year ago

Missing "Sync Now" label in synced tabs sidebar filter context menu

Categories

(Firefox :: Sync, defect, P3)

Firefox 91
defect

Tracking

()

Tracking Status
firefox89 --- affected
firefox90 --- affected
firefox91 --- affected

People

(Reporter: aminomancer, Unassigned)

References

(Depends on 1 open bug)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0

Steps to reproduce:

  • Open synced tabs sidebar.
  • Right click the textbox.

Actual results:

  • The "Sync Now" menuitem is missing a label because its lazy l10n ID is never converted into a real data-l10n-id attribute by this function, which only looks in the regular context menu, not the filter context menu.

Expected results:

["SyncedTabsSidebarContext", "SyncedTabsSidebarTabsFilterContext"].forEach((id) =>
    window.top.document
        .getElementById(id)
        .querySelectorAll("[data-lazy-l10n-id]")
        .forEach((el) => {
            el.setAttribute("data-l10n-id", el.getAttribute("data-lazy-l10n-id"));
            el.removeAttribute("data-lazy-l10n-id");
        })
);

Either that, or the attribute should just be changed to data-l10n-id and avoid all this. I assume there's some good reason that wasn't done in the first place though.

The Bugbug bot thinks this bug should belong to the 'Firefox::Tabbed Browser' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Tabbed Browser

Managed to reproduce this issue on Windows 10 x64.
On macOS and on Ubuntu after you right click on synced tabs sidebar a context menu is opened with options to: Open All in Tabs, Manage Devices and Sync Now

Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Depends on: 1828744
Component: Tabbed Browser → Sync

The severity field is not set for this bug.
:bdk, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(bdeankawamura)
Severity: -- → S3
Flags: needinfo?(bdeankawamura)

If we're planning on removing the Sync Now item, should we just close this one WONTFIX? It seems simpler to remove the item than to fix the label issue.

Yeah, once bug 1828744 is done this can probably be "WONTFIX" - but not really before. I agree this motivates us to do that other bug though.

You need to log in before you can comment on or make changes to this bug.