Skip to content

[BUG]: Tab reopened in a container from panel config becomes parent of siblings #2009

@jaidetree

Description

@jaidetree

Steps to reproduce

  1. Create a new Tab panel with a setting to open tabs in a specific container
  2. Create a tree of tabs, at least 1 parent group and 2 children
    - Group
    |- Tab A
    |- Tab B
    
  3. Select Tab A, then create a new tab with cmt+t or ctrl+t on windows
  4. Select or write a URL for the new tab, Tab C

Actual behavior

Tab B becomes a child of Tab C, sometimes Tab C is outdented inexplicably

- Group
|- Tab A
- Tab C
|- Tab B

Expected behavior

Ideally, Tab A, B, and C should all be siblings.

- Group
|- Tab A
|- Tab C
|- Tab B

System

macOS 15.3

Firefox version

Firefox 134.0.2

Sidebery version

5.3.1

Logs

[group:3:260] IPC.request bg: tabsApiProxy: Connection is not ready: Pending request group.js:1:3793
[bg] IPC.onConnect(group, 3): chunk-JOZAXTW3.js:2:11221
[bg] IPC.onConnect(group, 3): New connection chunk-JOZAXTW3.js:2:11221
Uncaught (in promise) Error: Invalid tab ID: 258 undefined
    apply self-hosted:2285
    applySafeWithoutClone resource://gre/modules/ExtensionCommon.sys.mjs:675
    wrapPromise resource://gre/modules/ExtensionCommon.sys.mjs:1022

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions