Bug 513466 - After updating to version 25.12.0, Plasma 6.5.4, all Dolphin session tabs were reset to the home dir
Summary: After updating to version 25.12.0, Plasma 6.5.4, all Dolphin session tabs wer...
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: general (other bugs)
Version First Reported In: 25.12.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
: 513477 (view as bug list)
Depends on:
Blocks:
 
Reported: 2025-12-17 06:03 UTC by kdeuzver
Modified: 2025-12-17 19:15 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
All tabs are reset to the home directory. (88.42 KB, image/png)
2025-12-17 06:03 UTC, kdeuzver
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kdeuzver 2025-12-17 06:03:46 UTC
Created attachment 187726 [details]
All tabs are reset to the home directory.

SUMMARY
After updating to version 25.12.0, Plasma 6.5.4, all Dolphin session tabs were reset to the home dir.
Session is wiped (omg, again 🤦‍♂️ )

STEPS TO REPRODUCE
1. Update to Dolphin 25.12.0, Plasma 6.5.4.
2. run Dolphin.
3. All tabs are reset to the home directory.

OBSERVED RESULT
session is wiped

EXPECTED RESULT
keep session, restore from backup

SOFTWARE/OS VERSIONS
Operating System: KDE neon User Edition
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1
Kernel Version: 6.14.0-37-generic (64-bit)
Graphics Platform: Wayland
Processors: 16 × Intel® Core™ Ultra 7 255H
Memory: 32 GiB of RAM (30.8 GiB usable)
Graphics Processor: Intel® Graphics

ADDITIONAL INFORMATION
Please let me know if anyone knows where the session is stored in the file system so that I can make a backup copy of it.

stdout:
$ LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 dolphin
calligra.lib.store: Opening for reading "Thumbnails/thumbnail.png"
calligra.lib.store: Opening for reading "preview.png"
calligra.lib.store: Opening for reading "docProps/thumbnail.jpeg"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/calligrasheetspart.so"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/calligrastagepart.so"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/calligrawordspart.so"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/karbonpart.so"
calligra.lib.main: Got no results with  "inode/directory"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/calligrasheetspart.so"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/calligrastagepart.so"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/calligrawordspart.so"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/karbonpart.so"
calligra.lib.store: Opening for reading "Thumbnails/thumbnail.png"
calligra.lib.store: Opening for reading "preview.png"
calligra.lib.store: Opening for reading "docProps/thumbnail.jpeg"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/calligrasheetspart.so"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/calligrastagepart.so"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/calligrawordspart.so"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/karbonpart.so"
calligra.lib.main: Got no results with  "inode/directory"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/calligrasheetspart.so"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/calligrastagepart.so"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/calligrawordspart.so"
calligra.lib.store: Opening for reading "Thumbnails/thumbnail.png"
calligra.lib.store: Opening for reading "preview.png"
calligra.lib.store: Opening for reading "docProps/thumbnail.jpeg"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/karbonpart.so"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/calligrasheetspart.so"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/calligrastagepart.so"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/calligrawordspart.so"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/karbonpart.so"
calligra.lib.main: Got no results with  "inode/directory"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/calligrasheetspart.so"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/calligrastagepart.so"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/calligrawordspart.so"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/karbonpart.so"
calligra.lib.store: Opening for reading "Thumbnails/thumbnail.png"
calligra.lib.store: Opening for reading "preview.png"
calligra.lib.store: Opening for reading "docProps/thumbnail.jpeg"
calligra.lib.store: Opening for reading "Thumbnails/thumbnail.png"
calligra.lib.store: Opening for reading "preview.png"
calligra.lib.store: Opening for reading "docProps/thumbnail.jpeg"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/calligrasheetspart.so"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/calligrasheetspart.so"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/calligrastagepart.so"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/calligrastagepart.so"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/calligrawordspart.so"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/karbonpart.so"
calligra.lib.main: Got no results with  "inode/directory"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/calligrawordspart.so"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/calligrasheetspart.so"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/karbonpart.so"
calligra.lib.main: Got no results with  "inode/directory"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/calligrastagepart.so"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/calligrawordspart.so"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/calligrasheetspart.so"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/karbonpart.so"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/calligrastagepart.so"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/calligrawordspart.so"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/karbonpart.so"
calligra.lib.store: Opening for reading "Thumbnails/thumbnail.png"
calligra.lib.store: Opening for reading "preview.png"
calligra.lib.store: Opening for reading "docProps/thumbnail.jpeg"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/calligrasheetspart.so"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/calligrastagepart.so"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/calligrawordspart.so"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/karbonpart.so"
calligra.lib.main: Got no results with  "inode/directory"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/calligrasheetspart.so"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/calligrastagepart.so"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/calligrawordspart.so"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/karbonpart.so"
calligra.lib.store: Opening for reading "Thumbnails/thumbnail.png"
calligra.lib.store: Opening for reading "preview.png"
calligra.lib.store: Opening for reading "docProps/thumbnail.jpeg"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/calligrasheetspart.so"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/calligrastagepart.so"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/calligrawordspart.so"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/karbonpart.so"
calligra.lib.main: Got no results with  "inode/directory"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/calligrasheetspart.so"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/calligrastagepart.so"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/calligrawordspart.so"
calligra.lib.plugin: Trying to load "/usr/lib/x86_64-linux-gnu/qt6/plugins/calligra/parts/karbonpart.so"
qt.svg: <input>:26:6: Could not resolve property: #b-7
ERROR: appimage_read_file_into_buffer_following_symlinks : sqfs_traverse_open error
qt.gui.imageio.jpeg: Not a JPEG file: starts with 0x52 0x49
qt.gui.imageio.jpeg: Not a JPEG file: starts with 0x52 0x49
kf.imageformats.plugins.tga: TGAHandler::canRead() error while reading the header
kf.imageformats.plugins.tga: TGAHandler::canRead() error while reading the header
qt.gui.imageio.jpeg: Not a JPEG file: starts with 0x52 0x49
qt.gui.imageio.jpeg: Not a JPEG file: starts with 0x52 0x49
qt.gui.imageio.jpeg: Not a JPEG file: starts with 0x52 0x49
qt.gui.imageio.jpeg: Not a JPEG file: starts with 0x52 0x49
kf.imageformats.plugins.tga: TGAHandler::canRead() error while reading the header
qt.gui.imageio.jpeg: Not a JPEG file: starts with 0x52 0x49
qt.gui.imageio.jpeg: Not a JPEG file: starts with 0x52 0x49
qt.gui.imageio.jpeg: Not a JPEG file: starts with 0x52 0x49
qt.gui.imageio.jpeg: Not a JPEG file: starts with 0x52 0x49
qt.gui.imageio.jpeg: Not a JPEG file: starts with 0x52 0x49
qt.gui.imageio.jpeg: Not a JPEG file: starts with 0x52 0x49
Comment 1 Oliver Schramm 2025-12-17 17:27:55 UTC
*** Bug 513477 has been marked as a duplicate of this bug. ***
Comment 2 Oliver Schramm 2025-12-17 17:31:50 UTC
This happened because in https://invent.kde.org/system/dolphin/-/commit/8d44699fa48bc4028b2a7fab4af77ad91f899956 the format was changed, without having a migration path.
I am not sure if it’s reasonable to fix this for 25.12.1 as most users will have experienced this already then. But we could take more steps to make sure that old sessions are correctly migrated.
Comment 3 Richard Kellnberger 2025-12-17 17:35:35 UTC
Many distros have a slower update cycle.
There are likely plenty of users who do not have experienced this yet.
Depending on the difficulty of providing an upgrade path, I believe it is definitely worthwhile.
Comment 4 Richard Kellnberger 2025-12-17 18:52:00 UTC
All this change did was change a 2 to a 3 and add a 0 to the end of each line?
This could been prevented with an if or two (just don't read the bits if its version 2)? (Please still add this)
I got myself confused by the selected items and the item with the keyboard fucus getting saved (only the selection gets restored for me), which is in many cases the same item, making it appear twice.

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.

```python
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)
```
Comment 5 Oliver Schramm 2025-12-17 19:15:57 UTC
I’ve opened a merge request https://invent.kde.org/system/dolphin/-/merge_requests/1126 that could possibly fix this