Tree Tabs
-
@kroppy 1) Yay!
2) Yeah, I figured that there may be something like that =.
My mind gave me here an approach that may not be practical, but probably at least interesting to entertain. What if we take the active group and even though we're displaying it where it is - move the underlying tabs to the position when the would've been if it were the first group (don't know how computationally expensive is it)? That would solve the Cmd1-8 thing. The last tab is complicated though - to get a consistent Cmd+9 behavior - you'd need to move it to the global last place, but then move it to its 'proper' position when it becomes active or something like that
-
@kroppy As far as I remember groups were not saved last time =/. I'll let you know any other farther datapoints I'll have.
Yes, I do have a bunch of other extensions. Didn't notice data corruption issues with any of them so far. -
@stvad Interesting approach... Moving all tabs from the group would be impossible, browser can be totally unresponsive while moving them all at once, this is why I move them gradually after user moved tabs in the panel and if no other task is running. But if I can move first ten and last one it could be done. Problem is that we come back to ctrl+tab problem again. For example if I move 10 tabs to the front and if user goes to 11th, it will fail to stay in group. Obviously I can try to do that and see how heavy it is in reality. Problem would still persist with the last tab when pressing ctrl+shift+tab to go back, if there was any group in the middle.
I will try to figure something out. -
@stvad Data is not necessarily corrupted. It may be some extension that replaces tabs, session, urls, blocks javascript or something similar.
If you start vivaldi, and turn on debug mode in my extension, after start did it say in console something like "Attempt x failed, matched tabs was below 50%?
If so, maybe you should try disabling other extensions one by one, to see if problem persists? We could then find if any of those extensions is incompatible, and maybe I could find a workaround, by trying out that extension by myself.
It's really hard to guess, if I don't know much -
@kroppy Just lost all my folders again, and 'Load last internal backup' is greyed out again. Happened this time after a clean exit of browser and then a windows update on restarting the PC (could be coincidence, but the only thing I can think that changed). I have 6 extensions other than Tree Tabs, and have had all these for many months:
Adblock Plus
AppearIn screen share
LastPass
Streak CRM
Tampermonkey (one script on gmail domain)
Vue.jsAnything I can do to try to get the folders back?
-
@dsl101 Download latest Nightly version. It's 1.6 release candidate.
https://drive.google.com/drive/folders/1jf-8QtsaFlVjvFFBaU3PYcN8C6R7VcJG
Download one with today's date. -
Installed OK, but I guess it wasn't supposed to restore my old folders, but just be more resilient in case something bad happens again?
I exported the session before closing Vivaldi to upgrade TT, and I don't see any of my old folder names in that session file anyway. In fact, I see
"folders":{}
near the beginning, and the session exported from my laptop has lots of data in that object... -
Some more data points:
Since my laptop had many similar folders, I decided to try 'Import and merge session', to see if it would put at least some of the structure back. It opened a new browser window with a copy of all the tabs from my laptop, rather than merging the structure (so now I have one window with folders, identical to my laptop, and the original window with many dozens of tabs and no folders). Not sure if that's what was supposed to happen?
I've also got, in the new window with folders, many tabs which have a URL of
chrome-extension://fmbnbepfphepnocngkjfnkadjfjnnlhi/
. It has the Tree Tabs favicon, and the 'This site can't be reached' error page. All the pages like that are identical in URL, and there's nothing else after.Note the version of TT on my laptop (where the session was exported) isn't not the new version. So I upgraded my laptop installation of TT, exported its session (which still has folders) and tried to merge that with my desktop session. This time, 'Import and merge' didn't do anything—no new window, no change to tabs, no folders, etc. So I'm not sure if that's expected or not at this stage.
Finally, importing the full session from my laptop created a new window with folders and tabs as expected, so I will abandon the old session and start from there :).
Many thanks again for your work on this—despite the teething troubles, it's a daily time saver for me when working on many different projects.
-
@dsl101 Sorry for the lack of response I was out for work.
but I guess it wasn't supposed to restore my old folders, but just be more resilient in case something bad happens again?
Yes in a nutshell. Emergency buttons should be immediately available if found in local storage.
Also there is a new manager in toolbar with autosaves. I will add merge session icon, for now you can load only to new windows.I exported the session before closing Vivaldi to upgrade TT, and I don't see any of my old folder names in that session file anyway. In fact, I see "folders":{} near the beginning, and the session exported from my laptop has lots of data in that object...
Probably overwritten already... Sorry
-
Since my laptop had many similar folders, I decided to try 'Import and merge session', to see if it would put at least some of the structure back. It opened a new browser window with a copy of all the tabs from my laptop, rather than merging the structure (so now I have one window with folders, identical to my laptop, and the original window with many dozens of tabs and no folders). Not sure if that's what was supposed to happen?
If there is less than 50% of urls matching between current window and the one from session, then it opens new one. If that happens, keep newly opened window instead. I'm sure I can improve that in the future.
I've also got, in the new window with folders, many tabs which have a URL of chrome-extension://fmbnbepfphepnocngkjfnkadjfjnnlhi/. It has the Tree Tabs favicon, and the 'This site can't be reached' error page. All the pages like that are identical in URL, and there's nothing else after.
Those can be from some extension that suspends tabs, those tabs are not available on your another pc. I'm not going to explain how suspending extensions work in chromium, right now.
Note the version of TT on my laptop (where the session was exported) isn't not the new version. So I upgraded my laptop installation of TT, exported its session (which still has folders) and tried to merge that with my desktop session. This time, 'Import and merge' didn't do anything—no new window, no change to tabs, no folders, etc. So I'm not sure if that's expected or not at this stage.
Hmmm.... If you had no tabs and folders then, no. I have to check it out.
It's supposed to do something I may have some bug. But if you had same folders and tabs, in this case, nothing pops up. I should make some confirmation that session has been merged. If all matched nothing will change and it can look weird
You can close just few tabs to see if it actually does something
Finally, importing the full session from my laptop created a new window with folders and tabs as expected, so I will abandon the old session and start from there :).
What can I say... worst case scenario... But at least some kind of backup.
Many thanks again for your work on this—despite the teething troubles, it's a daily time saver for me when working on many different projects.
Thanks
I do my best
I also depend on this extension
I can't browse internet without it
EDIT:
I found bug in merge function. It wasn't loading file properly. Get new update (2018.05.11). And set in manager backups count and timer for the future -
@kroppy Will we see the extension in the store?
-
Not needed session save yet, which is great :).
But I did notice that when I close Vivaldi, and restart, the last active (non-pinned) tab is no longer in the folder it was in, but in the main flat list below all the folders. Is that a known problem? It's not 100% repeatable, but more often than not...
-
Not needed session save yet, which is great :).
But I did notice that when I close Vivaldi, and restart, the last active (non-pinned) tab is no longer in the folder it was in, but in the main flat list below all the folders. Is that a known problem? It's not 100% repeatable, but more often than not...
How often does it happen? Was the tab placed in the folder shortly before restart? Like 2 or 3 seconds before? I'm conservative on the hdd writes, so the function that saves data loops every 2 seconds, listening for changes. But it's not necessarily this what is causing it. By the end of this weekend I wan't to release 1.6.1 with some small fixes. Maybe I will change loop's speed and we will see if that helps.
-
-
@kroppy it happens maybe 50% of the time I’d say but weirdly in ‘lumps’ - it will do it every time for a few days then be fine for a few. It’s with tabs that have been in folders for weeks - I don’t often move them, other than to put them back where they should be at the beginning of work. So I don’t think it’s timing that’s the issue.
Happy to try out the next version and see if I can pin down a pattern (if it carries on).
Tx
-
Just wanted to let you know, Vivaldi just started up and all my tabs were in a flat list, with no folders, as has happened sometimes before. Went to session, emergency restore from 30-mins ago, and everything back as it should be. Woohoo!
Out of interest, this happened when an app wanted to open a web page when Vivaldi wasn't running, and so Vivaldi was started up by the shell rather than me launching it directly. Don't know if it's related, but thought I'd pass it on.
Tx.
-
Out of interest, this happened when an app wanted to open a web page when Vivaldi wasn't running, and so Vivaldi was started up by the shell rather than me launching it directly. Don't know if it's related, but thought I'd pass it on.
Tx.
Hmmmm, only if a new window opened without restoring previous session, then, unfortunately, yes and there is no way around it. To simply explain it; When Vivaldi starts, TreeTabs starts as well, Tree Tabs always, tries to match what is available at startup, and because of this, in this very moment, your Tree structure is replaced if all 3 saved data sets fail to match. In those cases, you have to, indeed, restart Vivaldi, recover its session by any means and load Tree Tabs emergency backup or last autosave. If none of emergency backups work, you can try to merge autosave and if this fails, load autosave to a new window/s.
I'm sorry, I have no clear solution for this, because there is no way to tell if user closed all previous windows and started a brand new session. My extension can't sit there forever trying various scenarios, but I was thinking, maybe I could reboot background script after few seconds if something is off.
-
Thanks for the explanation—but just to be clear, I didn't have to restart Vivaldi to recover my folders. I used the 30-min emergency button and they came back fine, and the only tab not now in a folder was the one that the external app had triggered.
If the extension is going to do something in the background, it would be good if it could let the user know somehow (UI spinner, etc.), so they don't try to manually recover things at the same time and somehow break it even more :).
-
I've been using this extension on both Firefox and Vivaldi, it's actually replaced Tree Style Tabs on Firefox for me as it's better and more functional in pretty much every way. There's just one little annoyance. The sound indicator on the bottom right part of the tabs' icons will constantly flash when a tab has sound playing, and also if I click on it to mute it. It's annoying enough on its own, but on Firefox, there's also an issue where if a tab that has sound playing gets unloaded (manually or through an extension), the indicator will just keep flashing forever. Ideally, it would be nice to have an option to make that indicator static and not animated, which would also fix the Firefox-specific issue (or work around it). And thank you for your efforts on developing this extension, I can't even use any desktop browser without it anymore.
-
Hello everyone, I have test 1.7.0 version for everyone to check out
Check out last file in "Nightly packed zip" on my google drive.
EnjoyCHANGES:
Shortcut to open TreeTabs Sidebar is now F1 (Firefox)
log does not preserve urls for privacy reasonsNEW:
DRAG&DROP TO ANOTHER WINDOW OF THE ENTIRE GROUP
Tree is now tracked in background (but not closing tabs)
Added alt+w shortcut to close a tree of tabs (works only in Firefox, since Vivaldi has alt+w for window menu, I have to find a free one)FIXES:
import window was not showing up
export group and export session had file extension in name
pin tree had bug in setting classAnd thank you for your efforts on developing this extension, I can't even use any desktop browser without it anymore.
Thanks
on Firefox, there's also an issue where if a tab that has sound playing gets unloaded (manually or through an extension), the indicator will just keep flashing forever.
I will take a look at this.
Anyway, it does not depend from me. It means Firefox does not report to extension that tab has stopped playing audio. I will do something about it, as I have unloaded status and I can use that to remove "playing" icon.