NO recovery for lost sessions with tabs



  • I do not understand HOW you do not save in History all the saved sessions tabs opened like in old Opera browser!!!

    Example, yesterday my computer crashed for the first time and i restarted it. When i opened Vivaldi, the browser opened in a clean state making me to lose more than 50 active tabs including pinned ones.

    I said, no problem, i go to History and i recover them from there like i was used on Opera, but WOWW, History does not record saved sessions tabs that opens every time with Vivaldi, History shows only newly opened tabs, ignoring opened tabs from saved sessions and thus making my life a nightmare.

    I asked my friend, Mr. Google, maybe he has an answer, and someone said hey no problem, go to trash and you find all of them there, but, again, BIG SURPRISE, trash it is cleaner than never before... yahooo...

    So, the question is if there is ANY idea on how to recover this, because this is not a joke.

    Any ideas?


  • Moderator

    @Enkde - I edited your comment for language.

    In future, please observe the forum rules that you agreed to by signing up here, that you be courteous and respectful. That is the primary condition for being allowed to participate in the forums.

    Thank you.



  • @Enkde -- I suspect your chances of receiving help here from fellow users [who are typically fabulous in their generous collegiate spirit of interchange & mutual assistance] are "sub-optimal", given your tirade of OTT profanity & meanness. As for the Devs you have so egregiously insulted, well, you fully deserve the silence that i hope shall ensue. Maybe you might try growing up a bit before your next keyboard assault?



  • @enkde While I may understand if developers don't care about this post because of offensive language, I'm not sure why the issue itself is ignored.

    And I do understand the feelings behind the OP as well - losing dozens of open tabs is not nice (just happened to me too and I also feel using offensive language) There is a post on reddit too. There might be many users who experience the same issue from time to time.

    Yes, I know there is the Save Open Tabs as a Session but still: If you check "Startup with Last Session" and many (unsaved) tabs go lost, the (power-)user (that's how Vivaldi often describes its userbase) may put the following question: How such a thing is even possible?

    Because it looks like that it's because of a mixture of bad design and ignorance. And I don't like to say it because otherwise Vivaldi is a really great browser, but that's the truth. Also, the OP made a valid point regarding the (not available) items in History.



  • @violin1 Happens from time to time. Especially if you have a large number of tabs open you depend on, you should save your open tabs as session regularly. You can even assign a keyboard shortcut to it. Better save than sorry as long as this doesn't work reliably. There are many topics about users losing sessions just like you.

    To make this more clear: When you close the browser Vivaldi saves your last session, if you have the according option enabled in settings, but this doesn't mean your session is saved independently. Sometimes Vivaldi doesn't close clean and then the session can potentially be lost, that's why it's better to save manually in addition. Also you should do regular backups of your operating system. A Vivaldi session can potentially be retrieved from such a backup. All in all you haven't been very careful.



  • @luetage Do you know how often did it happen to me on Firefox (as a power user I do use that, even Brave or Pale Moon)? Never! I cannot remember of losing open tabs on Firefox ever. It may not be the best browser, but that feature works perfectly.

    I'm sorry to say but your remark "you haven't been careful" "you should save your open tabs" (basically this is all you're saying) is the worst kind of attitude in software development. And no, it's NOT the user's fault, it's bad programming.

    Investigating the issue and actually thinking about a fix for that feature would be the proper thing to do. It might be in form of a carefully designed session tabs backup (if open last tabs is checked) and measures like checking the drive whether it's full (which is one of the reasons I can think of why a clean close might fail).

    I think the user even loses ALL the open tabs if there are two Vivaldi windows open. One with dozens of open tabs, one with one single tab. If the user accidentally closes the window with all the open tabs first, and after that the single tab window, all the open tabs are lost. There should be a better solutions for these cases too.



  • @violin1 I'm sorry to say, but I don't see you as a power user, if you don't make regular backups of your system – this is novice stuff.
    And yeah, you're absolutely right, Vivaldi should have a foolproof implementation of saving sessions automatically, but at the moment it simply doesn't. So either you take precautions, or you run the risk of losing your tabs. This is the current situation.


  • Moderator

    @violin1 said in NO recovery for lost sessions with tabs:

    If the user accidentally closes the window with all the open tabs first, and after that the single tab window, all the open tabs are lost.

    In this case it is due to the carelessness of the user. The tabs are not lost either, they can be reopened from the trashcan.

    When comparing to Firefox, remember that Vivaldi is at version 1.15 after a little over three years, while Firefox is on version 59 after some 16 years of development.

    Users should not get angry whatever happens. If their work is important to them, they should back it up. By all means report bugs and request improvements, but be polite and realistic.



  • Forgive me if I have misinterpreted the complaint here but isn't the Sessions Buddy extension the answer to the problem?


  • Moderator

    @rafiki It may well be a useful stop-gap measure, but the Session Management in Vivaldi still needs some work.



  • @pesala said in NO recovery for lost sessions with tabs:

    @rafiki It may well be a useful stop-gap measure, but the Session Management in Vivaldi still needs some work.

    Sure, it needs to be put right. I have needed to use SB from time to time and it does its job. the Firefox equivalent is a bit better I think.



  • I have the same issue as others mentioned here. A session was not recovered after a forced shutdown in the Task Manager. What brought me to that action is the fact that using Vivaldi over a period of a couple of hours eats up the system memory (4gb total system Ram) to the point that the op.system (win7 32 bit) throws up the low memory warning. Shutting down the browser releases anywhere from 2 to 2.5 gb if not more some times. That is all good if Vivaldi is still responding, but not when you need Task Manager. 99% of the time it restarts the session but this time it did not.

    I am using Vivaldi as a test and do see the value of it (long time Firefox user).

    So, upon further looking around in the forums I gather that if you run into this problem and you restart the browser you will lose the chance to recover anything since the 'last session' and 'last tabs' files get over written upon restart. You really don't have a chance because by the time you realized the session did not start correctly you have lost the back up (last session/tabs) files. Am I correct on this?

    Is there any other place where you can retrieve last session data?
    It would be nice for the software to create at least one (.bak) instance of those 2 files.

    That way you stand a chance. Right now you really need to put everything in 'ice' when you have a crash, go to user folder find and save those 2 files and go from there. Of course if this problem happens after a normal shut down of the browser you don't have any warning about the problem until after the fact. That's why a .bak would be helpful. Until I find any other solution to this the only good way to protect your session and avoid the urge to hammer the screen is: save the session manually using the built-in browser option at regular intervals and then go digging in the history for whatever you missed from the last session save to the point of loss.

    Another thing I would like to know, can you make the Trash can to hold more than 25 items? Is there a setting for this? That is very limited, I lost a closed window with 77 tabs that I thought it would stay there for a while, but after 25 closed tabs, the 77 tab window is gone forever or is it? Can anyone help with that?

    Another hammer the screen moment there. Hope for any suggestions anyone can offer. This experience was on a 32 bit win7 with 4GB Ram snapshot 1.15.1104.3.

    The memory hogging happens with at least 10 different snapshots and stables that I have tried the last 6 months. I believe this was not so with versions a year ago May 2017 if I recall right. I really hope to hear some suggestions and hope this was not too lengthy!

    Mod Edit Long posts are easier to read if formatted with breaks.


  • Moderator

    @vivaldi_nyc At present, the trash can is your only hope. It may save even "lost" sessions.

    Soon, there will be sync, which will help, but a .bak file is not the worst idea I ever heard.

    Further, there is some work going on to refactor code to reduce RAM consumption. Until that matures, a 4 (3.25) GB Win32 system is sort of a perilous place to run Vivaldi on a routine basis. I do it, but a) I seldom run more than 25 tabs, b) I run no extensions, c) I'm running Win10 which is better at resource management than Win7 - so that I hardly ever get a crippling memory problem, and d) if I get a freeze or crash, I knew I was tempting fate, and I simply deal with it.

    But know that memory gluttony is much on the developers' minds.



  • @rafiki said in NO recovery for lost sessions with tabs:

    Forgive me if I have misinterpreted the complaint here but isn't the Sessions Buddy extension the answer to the problem?

    Just installed Sessions Buddy extension today and it works great. Thanks for the tip!

    That's exactly what's needed. Vivaldi should just acquire the code and implement it into the browser.



  • @rafiki said in NO recovery for lost sessions with tabs:

    Forgive me if I have misinterpreted the complaint here but isn't the Sessions Buddy extension the answer to the problem?

    I'll add a nod towards Session Buddy. Sure, it'd be great if we didn't need it, but until then...



  • @ayespy Thanks for replying to my comment.

    Looking around I see that this is an often problem that users run into it.

    Of course it's not peculiar to just Vivaldi . I have first experienced it with FireFox back to version 3 I would say circa 2007 if I recall. So back then I figured a way to get something back...not a total loss! Later on Session Manager and Tabs Manager extensions helped with this problem in FIREFOX. Of course every extension takes firepower away from the browser, slowing things down, so I try to keep things lean and mean.

    In this case (Vivaldi) I just couldn't bear going through close to 3000 history items to see what I am missing,...... dumpster diving at it's best!!

    So, some more poking around Here is a solution that worked for me and hopefully other wounded souls can find some healing.

    What I recovered was only 5 days old which means only a couple days of light history diving and we are back in the groove.

    **Solution explained to help others : **
    You are looking for 2 files: Last Tabs and Last Session. These are in C:\Vivaldi.1.15.1104.3\User Data\Default (in this example, check yours accordingly). If there is a crash these can be lost or overwritten by Vivaldi on the next restart with the contents of Current Tabs and Current Session (also located in same directory as Last Tabs Last Session). Normally this is not a problem because Current Tabs and Session contain your updated session information while you are working with your browser. The problem is that when you suffer a crash or some burp in the browser these 2 files get damaged and looks like Vivaldi makes new default copies which bring you to the start up screen with nothing else from your previous session. And to make things worse these 2 newly created files are also used to overwrite the Last Tabs and Session files upon restart, effectively stopping you from been able to recover anything. As I said in my first post a .bak is a must here.

    Now how do you get back these 2 files (Last Tabs & Last Session) ?
    You can if the Windows op.system Shadow Copy is running.
    Find your 'Default' folder right click and look for 'Restore previous versions'.
    After it searches it will display the available shadow copies created and the times.
    Browse through to the files you are looking for (Last Tabs & Last Session) , copy them to a new folder, rename them to: Current Tabs and Current Session and use these to overwrite the ones in your 'Default' folder (must do this with Vivaldi not running).

    Restart and you should have the session that was running at that time that the Shadow Copy was created. Of course your luck with these files depends on how your Windows system restore services are set up.

    Also, if you are lucky and your browser was not running when the shadow copy was made then you can also use the Current Tabs & Current Session copies instead. They will have more session data compared to the 'Last' ones. If the file size displayed in the Shadow Copy is say 1KB it means that those files were open by Vivaldi at that time and therefore unusable for this purpose. In that case you can only use the 'Last' ones.

    For a nice explanation on Shadow Copy previous versions check:
    https://answers.microsoft.com/en-us/windows/forum/windows_7-files/how-to-recover-deleted-files-using-the-restore/3fa24978-dc7e-4a9f-8dc8-de89c3fe963c
    And if you want to play it safe so that your experimenting with this doesn't make things worse for your current Vivaldi installation that you are trying to fix try this: Install another Vivaldi version in standalone mode and test your recovered files in that browser version before trying it in the one you are trying to fix. Installing in standalone mode will not interfere with your current installation, just make sure you use a unique installation path and create a new startup shortcut. If things work OK when you start the new version with the recovered files you should see the session you are missing or a few days back, depending on the shadow copy. This is not a cure all but it can lighten the blow.

    For the more programming literate also check Backup you Vivaldi Session Automatically

    Hope this helps someone else.



  • @vivaldi_nyc said in NO recovery for lost sessions with tabs:

    @ayespy Thanks for replying to my comment.

    Looking around I see that this is an often problem that users run into it.
    Of course it's not peculiar to just VIVALDI . I have first experienced it with FireFox back to version 3 I would say circa 2007 if I recall. So back then I figured a way to get something back...not a total loss! Later on Session Manager and Tabs Manager extensions helped with this problem in FIREFOX. Of course every extension takes firepower away from the browser, slowing things down, so I try to keep things lean and mean.
    In this case (VIVALDI) I just couldn't bear going through close to 3000 history items to see what I am missing,...... dumpster diving at it's best!!
    So, some more poking around HERE IS A SOLUTION THAT WORKED for me and hopefully other wounded souls can find some healing.
    What I recovered was only 5 days old which means only a couple days of light history diving and we are back in the groove.

    SOLUTION explained to help others :
    You are looking for 2 files: Last Tabs and Last Session. These are in C:\Vivaldi.1.15.1104.3\User Data\Default (in this example, check yours accordingly). If there is a crash these can be lost or overwritten by VIVALDI on the next restart with the contents of Current Tabs and Current Session (also located in same directory as Last Tabs Last Session). Normally this is not a problem because Current Tabs and Session contain your updated session information while you are working with your browser. The problem is that when you suffer a crash or some burp in the browser these 2 files get damaged and looks like VIVALDI makes new default copies which bring you to the start up screen with nothing else from your previous session. And to make things worse these 2 newly created files are also used to overwrite the Last Tabs and Session files upon restart, effectively stopping you from been able to recover anything. As I said in my first post a .bak is a must here.
    Now how do you get back these 2 files (Last Tabs & Last Session) ?
    You can if the Windows op.system Shadow Copy is running.
    Find your 'Default' folder right click and look for 'Restore previous versions'.
    After it searches it will display the available shadow copies created and the times.
    Browse through to the files you are looking for (Last Tabs & Last Session) , copy them to a new folder, rename them to: Current Tabs and Current Session and use these to overwrite the ones in your 'Default' folder (must do this with VIVALDI not running).
    Restart and you should have the session that was running at that time that the Shadow Copy was created. Of course your luck with these files depends on how your Windows system restore services are set up.
    Also, if you are lucky and your browser was not running when the shadow copy was made then you can also use the Current Tabs & Current Session copies instead. They will have more session data compared to the 'Last' ones. If the file size displayed in the Shadow Copy is say 1KB it means that those files were open by Vivaldi at that time and therefore unusable for this purpose. In that case you can only use the 'Last' ones.
    For a nice explanation on Shadow Copy previous versions check:
    https://answers.microsoft.com/en-us/windows/forum/windows_7-files/how-to-recover-deleted-files-using-the-restore/3fa24978-dc7e-4a9f-8dc8-de89c3fe963c
    And if you want to play it safe so that your experimenting with this doesn't make things worse for your current Vivaldi installation that you are trying to fix try this: Install another Vivaldi version in standalone mode and test your recovered files in that browser version before trying it in the one you are trying to fix. Installing in standalone mode will not interfere with your current installation, just make sure you use a unique installation path and create a new startup shortcut. If things work OK when you start the new version with the recovered files you should see the session you are missing or a few days back, depending on the shadow copy. This is not a cure all but it can lighten the blow.
    For the more programming literate also check https://asyncial.github.io/blog/backup-your-current-vivaldi-session-automatically/

    Hope this helps someone else.

    There is slightly different way I personally restore it (in case you dont have any backups). If you see no tabs when your open V, dont close it! Press Win+R, type %LOCALAPPDATA%\Vivaldi\User Data\Default, copy "last tabs" and "last session" files, close V (check if it's closed and not running in background!!!). After that, rename those copied files to "current tabs" and "current session" respectively and replace original files (if they are 0-1 kb) overwriting them. Most of the time it works.



  • @docemmet said in NO recovery for lost sessions with tabs:

    %LOCALAPPDATA%\Vivaldi\User Data\Default

    Yes, that works also if you (as you said) DON'T close the browser again or if it does not crash again upon restart. In other words you want to prevent the overwriting action by the browser to the: Last Tabs and Last session files which contain the session info from the last browser shutdown, however far back that has taken place. The file time stamps will give you a clue to that. In my case the crash I guess was severe enough that the browser either did not close the Current Session and Current Tabs files properly or for some other reason created the first run default copies which also were copied upon the first restart into the 'Last' ones. That's why I needed to find a back up that of course did not have. So the Shadow Copy saved that. You know what they say: Backup, backup, backup!
    You know there are 2 kinds of computer users, those that have lost data and those that WILL lose data. Cheers.


Log in to reply
 

Looks like your connection to Vivaldi Forum was lost, please wait while we try to reconnect.