Skip to content

Tabs reopen to the wrong window, if the wrong window is the last window active. #2000

Open

Description

@jtagcat
  • Multi-Account Containers Version: 7.3.0
  • Firefox Version: 88.0b3

Steps to reproduce

  1. Open 20 (1 works as well, if the system is stressed) tabs in window A. The tabs should be configured to reopen in their specified container.
  2. Activate window B.

Actual behavior

  1. As long as window B was the window last focused, the tabs will close in window A and open with the right container in window B.

Expected behavior

  1. Tabs reopen in window A.

Activity

  1. added
    bugSomething is broken!
    Component: TabIssues related to tab changes (create, delete, move, etc).
    on Jan 6, 2023
  2. dannycolin commented on Jan 6, 2023

    @dannycolin
    Collaborator

    How do you close each windows and Firefox? Asking because I remember that Firefox has a slightly different behavior depending on how you close them when restore session is enabled.

  3. jtagcat commented on Jan 7, 2023

    @jtagcat
    Author

    Always with Ctrl-w.

  4. dannycolin commented on Jan 22, 2023

    @dannycolin
    Collaborator

    I'm not able to reproduce this on my side. I might need more details for the step to reproduce. Currently, what I tried is:

    1. Open Firefox (Window A)
    2. Open a few tabs assigned to Container A
    3. Open a new window (Window B)
    4. Close Window A
    5. Close Window B
    6. Re-open Firefox and restore the session.

    Does that sound right to you?

  5. at-ng commented on Nov 27, 2023

    @at-ng

    I have a similar issue that could have the same cause, for me the steps are.

    1. Have multiple pages as a start page one of which is set to always open in container A.
    2. When starting Firefox before any tabs have loaded (multi container has not assigned a color) open 1-2 bookmarks that are also set to open in container A in a new window.
    3. Wait for everything to load (for me this is during startup of the computer so it's a bit slow since a lot of things are loading at the same time)
    4. Tabs are moved back to the original window, this might be because I was focusing it because the opposite has also happened where the page in the first window is moved to the new window.
  6. mitar commented on Nov 9, 2026

    @mitar

    I made a PR to address this: #2957

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: TabIssues related to tab changes (create, delete, move, etc).bugSomething is broken!

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions