Skip to content

[BUG] Sidebery is moving tabs from all groups to the last group #1507

@animaone

Description

@animaone

Steps to reproduce

  • There is no easy way to reproduce this bug. But I will describe how I use Sidebery in Firefox, so it may help someone to figure out what is really happening.
  • I generally have around 100 tabs pinned on the first group
  • I generally open more 100 tabs in the first group
  • The groups are named: Persona1, work, academic, Persona2 (all groups have an equivalent cookie isolation container equivalent with the same name)
  • I have 11 tabs unloaded inside 'work' group, 61 one unloaded in 'academic' group and 20 unloaded and 1 loaded in 'Persona2' group.
  • I generally close all 100 tabs in the first group from time to time so that I don't explode my brain.
  • I have to close Firefox and open it again each 3 hours otherwise it will consume all the operational system RAM and crash the system (Linux). Configuration to restore tabs automatically is enabled.
  • Actually I have a workaround to save me from this problem: auto backups + container isolation colors for every group. When everything moves to last group I select every tab by container color and move them back to their respective groups.
  • But this bug keeps happening periodically (with an interval of around 10 days) ...
  • Tabs are kept pinned/open for years and uptime of OS actually is 90 days (yes, I think RAM should be persistent, I am obsessed about data persistence because it saves me time)

Expected behavior

Tabs should Stay in their groups and not move alone to another groups.

Actual behavior

Tabs have life by themselves and they move to other groups (jumping like happy rabbits) without my permission.

Debug info

Addon data
{
  "addonVersion": "5.1.1",
  "firefoxVersion": "122.0.1",
  "settings": {
    "nativeScrollbars": false,
    "nativeScrollbarsThin": false,
    "nativeScrollbarsLeft": false,
    "selWinScreenshots": false,
    "updateSidebarTitle": true,
    "markWindow": false,
    "markWindowPreface": "[Sidebery] ",
    "ctxMenuNative": false,
    "ctxMenuRenderInact": true,
    "ctxMenuRenderIcons": true,
    "ctxMenuIgnoreContainers": "",
    "navBarLayout": "horizontal",
    "navBarInline": true,
    "navBarSide": "left",
    "hideAddBtn": false,
    "hideSettingsBtn": false,
    "navBtnCount": true,
    "hideEmptyPanels": true,
    "hideDiscardedTabPanels": false,
    "navActTabsPanelLeftClickAction": "none",
    "navActBookmarksPanelLeftClickAction": "none",
    "navTabsPanelMidClickAction": "discard",
    "navBookmarksPanelMidClickAction": "none",
    "navSwitchPanelsWheel": true,
    "subPanelRecentlyClosedBar": true,
    "subPanelBookmarks": true,
    "subPanelHistory": true,
    "groupLayout": "grid",
    "containersSortByName": false,
    "skipEmptyPanels": false,
    "dndTabAct": true,
    "dndTabActDelay": 750,
    "dndTabActMod": "none",
    "dndExp": "pointer",
    "dndExpDelay": 750,
    "dndExpMod": "none",
    "dndOutside": "win",
    "dndActTabFromLink": true,
    "dndActSearchTab": true,
    "dndMoveTabs": false,
    "dndMoveBookmarks": false,
    "searchBarMode": "dynamic",
    "searchPanelSwitch": "same_type",
    "searchBookmarksShortcut": "",
    "searchHistoryShortcut": "",
    "warnOnMultiTabClose": "collapsed",
    "activateLastTabOnPanelSwitching": true,
    "activateLastTabOnPanelSwitchingLoadedOnly": true,
    "switchPanelAfterSwitchingTab": "always",
    "tabRmBtn": "hover",
    "activateAfterClosing": "next",
    "activateAfterClosingStayInPanel": false,
    "activateAfterClosingGlobal": false,
    "activateAfterClosingNoFolded": true,
    "activateAfterClosingNoDiscarded": true,
    "askNewBookmarkPlace": true,
    "tabsRmUndoNote": true,
    "tabsUnreadMark": false,
    "tabsUpdateMark": "all",
    "tabsUpdateMarkFirst": true,
    "tabsReloadLimit": 5,
    "tabsReloadLimitNotif": true,
    "showNewTabBtns": true,
    "newTabBarPosition": "after_tabs",
    "tabsPanelSwitchActMove": true,
    "tabsPanelSwitchActMoveAuto": true,
    "tabsUrlInTooltip": "full",
    "newTabCtxReopen": false,
    "tabWarmupOnHover": true,
    "tabSwitchDelay": 0,
    "moveNewTabPin": "start",
    "moveNewTabParent": "last_child",
    "moveNewTabParentActPanel": false,
    "moveNewTab": "end",
    "moveNewTabActivePin": "start",
    "pinnedTabsPosition": "panel",
    "pinnedTabsList": false,
    "pinnedAutoGroup": true,
    "pinnedNoUnload": false,
    "pinnedForcedDiscard": false,
    "tabsTree": true,
    "groupOnOpen": true,
    "tabsTreeLimit": "none",
    "autoFoldTabs": false,
    "autoFoldTabsExcept": "none",
    "autoExpandTabs": false,
    "autoExpandTabsOnNew": false,
    "rmChildTabs": "folded",
    "tabsLvlDots": true,
    "discardFolded": false,
    "discardFoldedDelay": 0,
    "discardFoldedDelayUnit": "sec",
    "tabsTreeBookmarks": true,
    "treeRmOutdent": "branch",
    "ignoreFoldedParent": false,
    "colorizeTabs": true,
    "colorizeTabsSrc": "container",
    "colorizeTabsBranches": false,
    "colorizeTabsBranchesSrc": "url",
    "inheritCustomColor": true,
    "hideInact": false,
    "hideFoldedTabs": false,
    "hideFoldedParent": "none",
    "nativeHighlight": false,
    "warnOnMultiBookmarkDelete": "collapsed",
    "autoCloseBookmarks": false,
    "autoRemoveOther": false,
    "highlightOpenBookmarks": false,
    "activateOpenBookmarkTab": false,
    "showBookmarkLen": true,
    "bookmarksRmUndoNote": true,
    "loadBookmarksOnDemand": true,
    "pinOpenedBookmarksFolder": true,
    "oldBookmarksAfterSave": "ask",
    "loadHistoryOnDemand": true,
    "fontSize": "xxs",
    "animations": true,
    "animationSpeed": "norm",
    "theme": "plain",
    "density": "default",
    "colorScheme": "ff",
    "sidebarCSS": true,
    "groupCSS": false,
    "snapNotify": true,
    "snapExcludePrivate": false,
    "snapInterval": 5,
    "snapIntervalUnit": "hr",
    "snapLimit": 0,
    "snapLimitUnit": "snap",
    "snapAutoExport": true,
    "snapAutoExportType": "json",
    "snapAutoExportPath": "0_SNAPSHOTS_SIDEBERY/snapshot-%Y.%M.%D-%h.%m.%s",
    "snapMdFullTree": false,
    "hScrollAction": "none",
    "onePanelSwitchPerScroll": false,
    "navSwitchPanelsDelay": 128,
    "scrollThroughTabs": "none",
    "scrollThroughVisibleTabs": true,
    "scrollThroughTabsSkipDiscarded": true,
    "scrollThroughTabsExceptOverflow": true,
    "scrollThroughTabsCyclic": false,
    "scrollThroughTabsScrollArea": 0,
    "autoMenuMultiSel": true,
    "multipleMiddleClose": false,
    "longClickDelay": 500,
    "wheelThreshold": false,
    "wheelThresholdX": 10,
    "wheelThresholdY": 60,
    "tabDoubleClick": "none",
    "tabsSecondClickActPrev": true,
    "tabsSecondClickActPrevPanelOnly": false,
    "shiftSelAct": true,
    "activateOnMouseUp": false,
    "tabLongLeftClick": "none",
    "tabLongRightClick": "none",
    "tabMiddleClick": "close",
    "tabMiddleClickCtrl": "discard",
    "tabMiddleClickShift": "duplicate",
    "tabCloseMiddleClick": "close",
    "tabsPanelLeftClickAction": "none",
    "tabsPanelDoubleClickAction": "tab",
    "tabsPanelRightClickAction": "menu",
    "tabsPanelMiddleClickAction": "tab",
    "newTabMiddleClickAction": "new_child",
    "bookmarksLeftClickAction": "open_in_act",
    "bookmarksLeftClickActivate": false,
    "bookmarksLeftClickPos": "default",
    "bookmarksMidClickAction": "open_in_new",
    "bookmarksMidClickActivate": false,
    "bookmarksMidClickRemove": false,
    "bookmarksMidClickPos": "default",
    "historyLeftClickAction": "open_in_act",
    "historyLeftClickActivate": false,
    "historyLeftClickPos": "default",
    "historyMidClickAction": "open_in_new",
    "historyMidClickActivate": false,
    "historyMidClickPos": "default",
    "syncName": "",
    "syncSaveSettings": false,
    "syncSaveCtxMenu": false,
    "syncSaveStyles": false,
    "syncSaveKeybindings": false,
    "selectActiveTabFirst": true
  },
  "permissions": {
    "allUrls": true,
    "webRequest": true,
    "webRequestBlocking": true,
    "proxy": true,
    "tabHide": true,
    "clipboardWrite": false,
    "history": true,
    "bookmarks": true,
    "downloads": true
  },
  "storage": {
    "size": "1.33 mb",
    "props": {
      "containers": "1.07 kb",
      "contextMenu": "1.51 kb",
      "favDomains": "32.1 kb",
      "favHashes": "7.53 kb",
      "favicons_01": "293 kb",
      "favicons_02": "228 kb",
      "favicons_03": "2 b",
      "favicons_04": "2 b",
      "favicons_05": "2 b",
      "groupCSS": "2 b",
      "lastSnapTime": "13 b",
      "profileID": "14 b",
      "settings": "4.88 kb",
      "sidebar": "1.42 kb",
      "sidebarCSS": "152 b",
      "snapshots": "753 kb",
      "tabsDataCache": "39.6 kb",
      "ver": "7 b"
    }
  },
  "sidebar": {
    "nav": [
      "aA08UGydv-zB",
      "hjSvHjheMLrR",
      "BGu1clDJ5cOS",
      "eT43kabjpO8X",
      "add_tp",
      "sp-0",
      "settings"
    ],
    "panels": {
      "aA08UGydv-zB": {
        "type": 2,
        "id": "aA08UGydv-zB",
        "name": "len: 5",
        "color": "blue",
        "iconSVG": "fingerprint",
        "iconIMGSrc": "",
        "iconIMG": "",
        "lockedPanel": false,
        "skipOnSwitching": false,
        "noEmpty": false,
        "newTabCtx": "firefox-container-9",
        "dropTabCtx": "none",
        "moveRules": [],
        "moveExcludedTo": -1,
        "bookmarksFolderId": -1,
        "newTabBtns": [],
        "srcPanelConfig": null
      },
      "hjSvHjheMLrR": {
        "type": 2,
        "id": "hjSvHjheMLrR",
        "name": "len: 8",
        "color": "orange",
        "iconSVG": "briefcase",
        "iconIMGSrc": "",
        "iconIMG": "",
        "lockedPanel": false,
        "skipOnSwitching": false,
        "noEmpty": false,
        "newTabCtx": "firefox-container-2",
        "dropTabCtx": "none",
        "moveRules": [],
        "moveExcludedTo": -1,
        "bookmarksFolderId": -1,
        "newTabBtns": [],
        "srcPanelConfig": null
      },
      "BGu1clDJ5cOS": {
        "type": 2,
        "id": "BGu1clDJ5cOS",
        "name": "len: 8",
        "color": "red",
        "iconSVG": "circle",
        "iconIMGSrc": "",
        "iconIMG": "",
        "lockedPanel": false,
        "skipOnSwitching": false,
        "noEmpty": false,
        "newTabCtx": "firefox-container-7",
        "dropTabCtx": "none",
        "moveRules": [],
        "moveExcludedTo": -1,
        "bookmarksFolderId": -1,
        "newTabBtns": [],
        "srcPanelConfig": null
      },
      "eT43kabjpO8X": {
        "type": 2,
        "id": "eT43kabjpO8X",
        "name": "len: 8",
        "color": "green",
        "iconSVG": "pet",
        "iconIMGSrc": "",
        "iconIMG": "",
        "lockedPanel": false,
        "skipOnSwitching": false,
        "noEmpty": false,
        "newTabCtx": "firefox-container-6",
        "dropTabCtx": "none",
        "moveRules": [],
        "moveExcludedTo": -1,
        "bookmarksFolderId": -1,
        "newTabBtns": [],
        "srcPanelConfig": null
      }
    }
  },
  "containers": [
    {
      "id": "firefox-container-2",
      "cookieStoreId": "firefox-container-2",
      "name": "8",
      "icon": "...",
      "color": "orange",
      "colorCode": "#37adff",
      "proxified": false,
      "proxy": null,
      "reopenRulesActive": false,
      "reopenRules": [],
      "userAgentActive": false,
      "userAgent": ""
    },
    {
      "id": "firefox-container-6",
      "cookieStoreId": "firefox-container-6",
      "name": "8",
      "icon": "...",
      "color": "green",
      "colorCode": "#37adff",
      "proxified": false,
      "proxy": null,
      "reopenRulesActive": false,
      "reopenRules": [],
      "userAgentActive": false,
      "userAgent": ""
    },
    {
      "id": "firefox-container-7",
      "cookieStoreId": "firefox-container-7",
      "name": "8",
      "icon": "...",
      "color": "red",
      "colorCode": "#37adff",
      "proxified": false,
      "proxy": null,
      "reopenRulesActive": false,
      "reopenRules": [],
      "userAgentActive": false,
      "userAgent": ""
    },
    {
      "id": "firefox-container-9",
      "cookieStoreId": "firefox-container-9",
      "name": "5",
      "icon": "...",
      "color": "blue",
      "colorCode": "#37adff",
      "proxified": false,
      "proxy": null,
      "reopenRulesActive": false,
      "reopenRules": [],
      "userAgentActive": false,
      "userAgent": ""
    }
  ],
  "sidebarCSSLen": "147",
  "windows": [
    {
      "state": "maximized",
      "incognito": false,
      "tabsCount": 226
    }
  ],
  "bookmarks": {
    "bookmarksCount": 1320,
    "foldersCount": 5,
    "separatorsCount": 0,
    "maxDepth": 2
  }
}
Logs
To get logs: 
- Open DevTools (open this url in new tab: about:devtools-toolbox?id=%7B3c078156-979c-498b-8990-85f7987dd929%7D&type=extension).
- Navigate to "console" tab.
- Click on the trash bin icon (at the top-left) to clear console.
- Then try to reproduce the issue.
- If messages appear, copy and paste them here inside this codeblock, replacing this text.

HERE ARE THE LOGS, BUT THEY MAY NOT RELATED TO THE BUG SINCE I CAN'T REPRODUCE IT PROCEDURALLY

[bg] Init start chunk-4CCDWPNC.js:2:7771
[bg] Init end: 498ms chunk-4CCDWPNC.js:2:7771
[bg] IPC.onConnected sidebar 1 chunk-4CCDWPNC.js:2:7771
[bg] Windows.isWindowTabsLocked 1 chunk-4CCDWPNC.js:2:7771
[bg] IPC.onConnected sidebar 288 chunk-4CCDWPNC.js:2:7771
[bg] Windows.isWindowTabsLocked 288 chunk-4CCDWPNC.js:2:7771
[bg] IPC.onDisconnected sidebar 288 chunk-4CCDWPNC.js:2:7771
[bg] IPC.onDisconnected sidebar 1 chunk-4CCDWPNC.js:2:7771
[sidebar] Init start chunk-4CCDWPNC.js:2:7771
[sidebar:1] Sidebar.loadPanels chunk-4CCDWPNC.js:2:7771
[sidebar:1] Sidebar.loadPanels: Done: 38ms chunk-4CCDWPNC.js:2:7771
[sidebar:1] Tabs.load chunk-4CCDWPNC.js:2:7771
[sidebar:1] Tabs.restoreTabsState chunk-4CCDWPNC.js:2:7771
[bg] IPC.onConnected sidebar 1 chunk-4CCDWPNC.js:2:7771
[bg] Windows.isWindowTabsLocked 1 chunk-4CCDWPNC.js:2:7771
[sidebar:1] Tabs.restoreTabsFromCache chunk-4CCDWPNC.js:2:7771
[sidebar:1] Tabs.restoreTabsState: Done: 85ms chunk-4CCDWPNC.js:2:7771
[sidebar:1] Tabs.load: Done: 338ms chunk-4CCDWPNC.js:2:7771
[sidebar:1] Init end: 586ms chunk-4CCDWPNC.js:2:7771
[sidebar:1] Tab.onMouseEnter: Warmup successor tab
Error: Invalid tab ID: 247 chunk-4CCDWPNC.js:3:25
[sidebar:1] Tab.onMouseEnter: Warmup successor tab
Error: Invalid tab ID: 248 chunk-4CCDWPNC.js:3:25
[sidebar:1] Tab.onMouseEnter: Warmup successor tab
Error: Invalid tab ID: 362

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions