Closing saved session multiplies pinned tabs in regular session


  • Moderator

    @astro46 Thank you. It had been closed as "unable to reproduce" by some tester. I just reopened it and confirmed it with my own notes.


  • Moderator

    @astro46 Irrespective of what that post advises, don't restore any folders when trying to save your data from a new version into an older version. Just don't do it.



  • @ayespy said in Closing saved session multiplies pinned tabs in regular session:

    @astro46 Irrespective of what that post advises, don't restore any folders when trying to save your data from a new version into an older version. Just don't do it.

    I find that if I don't restore the "sessions" and "sessions storage" I lose saved sessions and open tabs. this makes backups of very limited use. the only really useful item being restored is bookmarks.

    perhaps this incompatibility is something that needs to be adjusted in vivaldi's structure?


  • Moderator

    @astro46 You do lose saved sessions (how many do you have? I have exactly zero), but not current tabs. You can safely restore bookmarks, favicons, history, login data, the Top Sites file, cookies, current tabs, last tabs, last session, notes, probably preferences, origin bound certs, secure preferences (probably), visited links and web data, without triggering a compatibility problem. The thing is, there's nothing we can do about the fact that when certain features are added or re-factored, the file structure of the Default folder will have to be changed, and when that happens, it might not be reverse-compatible with earlier versions. Sometimes it is, but often not.

    If you simply must restore the "Sessions," and "Session Storage" folders, there's no way I can guarantee that the data formats of these from 1.15 will work seamlessly with 1.14. IN FACT, the very bug you have the problem with may be precisely related to functional changes that mandated structural changes in those folders. Just sayin'.

    So the bug is reported, perhaps it will be easy to fix, and you can move forward without changing your work habits. Be there's nothing we can do about the fact that as the browser evolves, so does its file structure.


  • Moderator

    @astro46 I just looked over the changeglog for 1.15. Two bugs related to session loss were shown as fixed. So perhaps now they're preserving "a little too much" on session shutdown. Just a theory. And to do that, they doubtless changed something in one or more of the database-related files in the Session Storage folder.



  • @ayespy said in Closing saved session multiplies pinned tabs in regular session:

    @astro46 I just looked over the changeglog for 1.15. Two bugs related to session loss were shown as fixed. So perhaps now they're preserving "a little too much" on session shutdown. Just a theory. And to do that, they doubtless changed something in one or more of the database-related files in the Session Storage folder.

    seems odd to me that 'close window' in drop down works differently than top right 'close xxx'



  • @ayespy

    after I restored files, but no folders, I didn't have any of the previous open or pinned tabs. I didn't check history or bookmarks, etc, but I presume that they were there. Only after restoring the 'sessions' and 'sessins storage' folders did I see the missing tabs.

    I only started using sessions about 2 months ago. I find it convenient for working on different projects with their different set of open tabs. likely there are workarounds, but this seems pretty simple. Only addition that I would make to sessions is be able to save a modified current session without having to go through the naming and then deleting older similar named sessions.

    hopefully we'll see a fix to the multiple tabs sooner rather than later, and I can go back to using a current version, and not see the 'profile' error message.



  • For what it's worth, I've had this problem with pinned tabs duplicating themselves, too. It just happened a few minutes ago, when I was working with a saved session - and this was a session I'd saved also just a few minutes ago (iow I wasn't trying to open a session I'd saved under a different version of Vivaldi).

    I wasn't doing anything with any folders - I'm not completely following that part of the thread, but I wasn't poking around in the "innards" if that's what was meant. I was just using the "save" and "open saved" tabs items in the File menu.

    This wasn't the first or only time the duplicating has happened. Unfortunately when its happened I've never been able to remember my exact previous steps, to file a decent bug report. Am mentioning it here just to say it's happened to someone else, so it's possibly not a local problem (unless we both have the same local problem, I guess.)



  • @Inclement Since this was reported almost a year ago, I am not really expecting a fix. In fact, I am wondering if the the whole session save feature may be deprecated. Being able to save a collection of tabs as a folder and open them as a new window is similar though less robust form of session save. Opening tabs in new window won't restore an special settings or pinned tabs.

    but since fixing closing saved session doesn't look like it is happening, we are left either save tabs as a folder, or remember to close the saved session using right click>close window.

    interesting that more people haven't commented on this. Maybe not many people use Sessions.


  • Moderator

    @astro46 Session save is in no way deprecated. The bug that started this thread was fixed. It looks as though something new with the intake of Chromium 74 may have created the same or a similar condition.

    Anyone experiencing the condition should file a bug report so that it can be looked into.



  • @Ayespy said in Closing saved session multiplies pinned tabs in regular session:

    @astro46 Session save is in no way deprecated. The bug that started this thread was fixed. It looks as though something new with the intake of Chromium 74 may have created the same or a similar condition.

    Anyone experiencing the condition should file a bug report so that it can be looked into.

    I had not experienced this problem being fixed since I first posted about it and filed bug report 11 months ago..

    new bug report entered. VB-51926


  • Moderator

    @astro46 said in Closing saved session multiplies pinned tabs in regular session:

    VB-51926

    Bug closed as Invalid.
    As i understood the dev: pinned tabs in a closed window move over to the other open window. That is by design.



  • @Gwen-Dragon . Well, I don't know what to call that "design" other than 'stupid'. If a new saved session is copying all tabs into the 'saved session' why save all pinned tabs back newer open window (the window that the previously saved session is being called from) when closing the saved session?

    And, why aren't the other tabs from the saved session being copied back to the other open window?

    And, is the dev suggesting that a window has be cleaned up before saving as a session, because who knows how it will pollute a newer window when it is closed.

    and, how come this doesn't happen when closing the saved session from from task bar drop down?

    Perhaps the dev can answer these questions. Or reopen the the bug.



  • The issue persist.

    Save any session of tabs, with pinned tabs.

    Open the saved session.

    Close the saved session with other window opened and the pinned tabs on the closed window will move to the current active window, duplicating them if your other window have the pinned tabs too.



  • @chida pretty unbelievable that something like this, which is clearly a malfunction, hasn't been addressed.



  • I would like to reopen the discussion about this, if it is at all closed.

    Today I created a session with a pinned tab in it. Sure enough, when I closed the session window the tab reappeared on another window. Then I started searching the forum and found this topic.

    I always define my sessions to be saved containing the current window only. Maybe it's a mistake to keep calling these sessions: they're more like "multi-tab bookmarks".

    Given that the purpose of a pinned tab is that you can't (accidentally) close it, it makes sense that when you have several windows open and you close a window with a pinned tab, the tab is reopened in another window.
    But that's only if you define this pinning as being application-wide. Now for me, pinning a tab in a certain window means that the pinning is intended for that window only, not for the entire application. In other words, as long as the window is open, I want the tab to be pinned; but when I close the window, I'm done with the pinned tab as well. Especially if this is an earlier defined saved session.

    I think if I would build a feature like this myself, I would make it possible to check on closing the window whether there are any pinned tabs, and if so unpin them before closing.

    TL;DR: I think it should be customizable if you want this to happen or not.

    Btw I'm using the snapshot on Linux Mint 19.3. Pinned tabs are set to "Don't close"



  • @woefdram firstly, I am not completely clear about what you are saying, eg: what is a 'multi-tab bookmark'? as for pinned tabs in a window winding up in another window, that may be a side effect of the underlying flaw, which is the topic of this thread: If i have a saved session and a regular session open, and they both have the same pinned tabs, if I close the saved session using the upper right red X, the window closes and all of the pinned tabs move over to the regular window, which now has duplicates of all pinned tabs. This has been going on for so long that it is obvious Vivaldi has no intention of fixing it. Their time is apparently being spent on new 'features'.

    btw: This pinned tab flaw isn't activated if the window is closed from opsys taskbar right click menu.

    edit: Removed comment about not having tested having a pinned tab in only one window.


  • - Ambassador -

    @astro46 Once a save session is opened in a new window it becomes a regular window. One can add or delete tabs without affecting the saved session at all. One can also open a saved session in the current window. I do not see any option to close a window from the Windows task bar — only Close all windows.


  • Moderator

    @Pesala Hover the icon on the task bar, multiple window thumbnails appear, move mouse over one of them and click on the "X" to close a single window in an application.



  • @Pesala that's odd. on my win10 system, if i right click on any open program in the task bar, the option at bottom is "close window", so if i have a saved vivaldi session open in another window, I can close it without the duplicate pinned tabs appearing on the still open original window.


Log in to reply
 

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