tabtree icon indicating copy to clipboard operation
tabtree copied to clipboard

TabTree forgets the tree structure when I close Fx

Open Gandalf99 opened this issue 8 years ago • 6 comments

When I close Fx, TabTree promotes all children to parents & if I try to reccreate the structure, it lifts all tabs below the one I'm trying to make into a child. If I then restart (not shutdown) Fx, it works ok & I can recreate the tree. Fx 44.0.2, TT 1.4.4. Only other tab related extension is TabMixPlus.

Gandalf99 avatar Feb 25 '16 20:02 Gandalf99

Traxium, What does it mean when you don't respond to a bug report for a couple of weeks? I noticed you've been responding to some, but not all, more recent comments. I like this better than TreeStyleTab but I miss the collapsing of branches (as mentioned elsewhere) & if I have to redo my tree every time I close FX, I'll switch back.

Gandalf99 avatar Mar 09 '16 17:03 Gandalf99

Sorry. The tree structure is stored in Firefox session store (by the way, TST also stores its tree structure there). It looks like other add-on prevents Firefox session store to work properly.

Try "Flatten the tree" button at the bottom of Tab Tree options (in v1.4.5).

To look into session store you can use the following JavaScript code from Browser Console:

var ss = Cc["@mozilla.org/browser/sessionstore;1"].getService(Ci.nsISessionStore);
ss.getTabValue(gBrowser.mCurrentTab, "ttLevel");

This code shows the indent level of a current tab. It should be "0" for tabs on the top level.

traxium avatar Mar 09 '16 18:03 traxium

Thanks for the response. I tried "Flatten the tree" which did what it was supposed to do but didn't affect closings after that. As to session store, it's been decades since I programmed a computer (think Pascal & Basic) so I didn't really understand what to do with the code snippet. I found the Browser console & tried that command but it generated a ReferenceError. Here, is a copy of the console:

consoleerror

Gandalf99 avatar Mar 11 '16 00:03 Gandalf99

It's Web Console, not Browser Console. And actually in order to write something in Browser Console you have to enable Browser Toolbox. It's a big talk but it can be done in several clicks. But it doesn't matter. I'm pretty sure that now you use another add-on for managing sessions that stores less session data than the default Firefox session manager. Just try using Session Manager add-on. If just installing this add-on doesn't help (but it should help) then try saving your session manually with this add-on before exiting Firefox and load it manually after you start Firefox again.

traxium avatar Mar 15 '16 06:03 traxium

Traxium, Thanks for the help. When you mentioned Session Mgr, I decided to try changing from TMP's session manager back to FX's & it solved the problem. Didn't even need to add Session Mgr add-on.

Gandalf99 avatar Mar 15 '16 16:03 Gandalf99

The incompatibility with Tab Mix Plus should be mentioned on the AMO page then :)

Luckz avatar Jul 16 '16 19:07 Luckz