Skip to content

Feature / bug fix: popup: open tab counters, lists, tab moving now work with tabs in non-current tabs#2880

Open
FNCheng137 wants to merge 1 commit intomozilla:mainfrom
FNCheng137:main
Open

Feature / bug fix: popup: open tab counters, lists, tab moving now work with tabs in non-current tabs#2880
FNCheng137 wants to merge 1 commit intomozilla:mainfrom
FNCheng137:main

Conversation

@FNCheng137
Copy link
Copy Markdown

@FNCheng137 FNCheng137 commented Mar 30, 2026

Before submitting your pull request

  • I agree to license my code under the MPL 2.0 license.
  • I rebased my work on top of the main branch.
  • I ran npm test and all tests passed.
  • I added test coverages if relevant.

Description

When using open tab counts and lists, the current behavior of this add-on is to count or list only relevant tabs in the focused window. For example, if a tab in a container is open in one window and when the popup menu is opened in another window, the open tab counter displays none and the list shows no tabs.

When a large number of tabs are opened in two or three windows, normally one would intuitively expect the counter and the list to count or list tabs in any window when finding open tabs. This behavior is counter-intuitive, misleading, and bad for usability.

Also this may harm privacy when the goal is to close all tabs before clearing site data.

Change

The counter now counts all tabs in all windows. The list now has a section for "Open Tabs in Other Windows". Now the move tabs to new window function can move tabs from all windows.

Breaking

L10n needs two new entries, namely Open Tabs in Other Windows and Move Tabs in All Windows to a Single Window. See PR in l10n repo mozilla-l10n/multi-account-containers-l10n#32.

Screenshot

Screenshot 2 Screenshot

Type of change

Select all that apply.

  • Bug fix
  • New feature
  • Major change (fix or feature that would cause existing functionality to work differently than in the current version)

I personally consider the previous behavior a bug.

Tag issues related to this pull request:
Closing: #2159, #2878 (duplicate)

@FNCheng137 FNCheng137 changed the title Feature: open tab counters, lists, tab moving now work with tabs in non-current tabs Feature / bug fix: popup: open tab counters, lists, tab moving now work with tabs in non-current tabs Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant