Change to dolphin_dolphin_dolphin?

I just updated my system (plasma 6.5.4).
When I open dolphin, all tabs point to my home folder.
Has anything changed about the session file?
I have a copy, but that does not seem to help.
I have 317 tabs and would like to keep them.

Woah - that is more than a little bit crazy.

Perhaps a tutorial about the use of bookmarks would be more appropriate.

You could use a snapshot to wind your system back, then before you run your update again, just bookmark those tabs as a folder.

I am currently writing a PhD thesis, I work with a very large amount of data.
I can assure you the list of papers I currently have open in my browser is even longer.
Bookmarking just trades one unmanageable list for another.

As far as I can tell dolphin was changed to cache the selected file twice for some reason.
If someone could tell me the significance of the bits between the paths I could write myself a conversion script.

1 Like

Yes, you’re so clever that you can’t see the value in spending 5 minutes restoring a snapshot and recovering your previous state, then simply saving that information which you could then load up after loading up your current snapshot.

I am not arguing my IQ with you, I explained the justification for my data hording.

1 Like

You completely missed the point. It is also nothing to do with IQ, though a higher IQ will find alternative solutions when available rather than pursue a single path.

Restoring a snapshot would bring back your functioning system - and then bookmarking the tabs would mean you could simply restore them… yet you’re here looking for more exotic solutions.

You carry on as you please, and justify your behavior as you wish - I’m finished here.

Not sure how easy restoring would be.
Could be a pain.
Knowing what happened would most definitely be preferable.

Thank you for stopping to reply.
Opening with an insult, while not addressing my concern was really not helpful.

1 Like

I had the same thing happen to me after the last update to 25.12.0, but since I “only” keep around 5 to 10 tabs open at a time I just reopened them and did not look into restoring.

Maybe you should open a ticket on the bug tracker about this and the developers can offer a solution to migrate your backup.

Please stop with this.

3 Likes

Ticket has been opened here.
As far as I can tell (mind you, I have no clue how this file is actually constructed), the session file seems to store the selected file twice now.
I would be surprised if this is intentional.

I’m sorry - reading back it did seem rather rude - it wasn’t really my intention, I was slightly frustrated at having posed a solution to the issue of losing the tabs which is the actual problem of the user - as I’m not able to offer a solution to the bug itself.

It’s absolutely right to follow up with bug fixing, but meanwhile - how do you get the tabs back?

I can confirm this behaviour is verifiable, if I copy back an old session file, it fails - rendering all tabs as Home…

So as an immediate fix, I would strongly suggest that restoring a snapshot would render the file useable, and then bookmarks would more robustly allow them to be opened in a new session after restoring the current snapshot.

Depending on your system, restoring a snapshot is likely to take only 5 to 15 minutes or so… and then with restoring, this means taking about half an hour to reliably restore those tabs.

Update:

I discovered another workaround which worked, the issue (for the OP) is solved.

  1. installed manjaro-downgrade and took a new snapshot.
  2. Downgraded dolphin
➤ dolphin -v
dolphin 25.08.3

Restored the session, and saved it as a bookmark folder.

Then reinstalled dolphin with pamac install dolphin and opened the same 5 tabs I had open before, only this time they didn’t revert to HOME tabs.

1 Like

Oliver Schramm posted exactly what I was looking for in the bugtracker.

I used this python script to port:
Takes the old file (you hopefully have backed up) and a location for the ported file as args.
Please don’t break your system.

import sys
from pathlib import Path

if __name__ == "__main__":
    arglen = len(sys.argv)
    if arglen != 3:
        print("Wrong number arguments")
        exit(-1)
    input_ = Path(sys.argv[1])
    output = Path(sys.argv[2])
    if output.exists():
        print("Output exists")
        exit(-1)
    with open(input_, "rb") as i:
        with open(output, "wb") as o:
            for line in i.readlines():
                if line.startswith(b"Tab Data "):
                    stripped = line[:-1]
                    a, b = stripped.split(b"=\\x00\\x00\\x00\\x02")
                    o.write(a + b"=\\x00\\x00\\x00\\x03" + b + b"\\x00\\x00\\x00\\x00\n")
                else:
                    o.write(line)
3 Likes