[Bug] Tree does not open in secondary windows
Abstract
When starting Firefox, the first window opened automatically opens the tree. However, in any extra Firefox windows opened afterwards the tree is hidden and must be explicitly opened.
Steps to reproduce
- Start Firefox with clean profile.
- Install TST.
- Open an extra window window
Expected result
Tree should open automatically in all new windows
Actual result
Tree only opens in first window, not in any other windows opened
Environment
- Platform (OS): Gentoo Linux
- Version of Firefox: 128.8.0esr
- Version (or revision) of Tree Style Tab: 4.1.3
https://github.com/user-attachments/assets/0fb2d03f-a05e-4e3f-8104-8694cd62b828
@prismz, I loaded the latest Gentoo LiveGUI USB Image (v2.17), ran Firefox (v128.8.0esr), enabled "Open previous windows and tabs", installed TST (v4.1.4), created 2 windows, closed Firefox, launched Firefox from Konsole, and saw 2 windows both with the sidebars enabled and loaded with TST.
I also don't see the same errors as you from Konsole.
https://github.com/user-attachments/assets/e550a9a7-3a1a-4c51-b1f9-1dcf21fc0d8c
I think it is a problem of Firefox itself or something Gentoo specific modification. TST and any sidebar type addons have no ability to control the sidebar is opened/closed when a browser window is opened - Firefox does not provide any WebExtensions API to do that by addons.
I have the same issue since my last upgrade, I am now under firefox 138 on arch linux and the tab bar is now not opening my default most of the time.
I realize this might not be an extension issue as you said it is controlled by firefox directly. But if anyone finds a fix/workaround it would be great.
I discovered that if I use the mouse to go to the menu and do "new window" it has the tab bar 100% of the time. But if something external (like xdg-open or calling firefox from the terminal) opens a new window, it does not have the tab bar like 80% of the time.
Appears to be fixed in Firefox 139.
Appears to be fixed in Firefox 139.
I just updated to 139.0.4 and am now experiencing the issue for the first time.
Edit: Actually, I think my issue is probably something else now that I watched the attached video. The tree panel in the second window is reopened automatically, but I cannot see any of the tabs – even after restarting Firefox, closing and reopening TST, or opening a new tab in that window. If I open a completely new window, TST does work there.
Aand I found a workaround:
- Close just the window in which TST does not show any tabs
- Check History > Recently Closed Windows: The window you closed should show up here with the number of open tabs in brackets
- Restore the window
- All tabs are visible again :)
Update:
I'm now also experiencing the issue on my other computer, and in the primary window. The workaround helped a couple of days ago after several tries, but today I can't seem to get the tabs to show in the sidebar no matter what I try.