1
0
Fork 1
mirror of https://github.com/zen-browser/desktop.git synced 2025-07-08 15:19:58 +02:00

Fixed workspaces not showing previous tabs

This commit is contained in:
mr. m 2025-02-24 07:49:53 +01:00
parent 12891ab238
commit 7468f6304c
No known key found for this signature in database
GPG key ID: 419302196C23B258
2 changed files with 9 additions and 1 deletions

View file

@ -1790,6 +1790,15 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
// Fix ctrl+tab behavior. Note, we dont call it with "await" because we dont want to wait for it
this._fixCtrlTabBehavior();
// Bug: When updating from previous versions, we used to hide the tabs not used in the new workspace
// we now need to show them again
if (onInit) {
console.log(this.allStoredTabs);
for (const tab of this.allStoredTabs) {
gBrowser.showTab(tab);
}
}
}
async _fixCtrlTabBehavior() {