Bug 453849

Summary: Dolphin doesn't save last opened directory when shutting down computer
Product: [Applications] dolphin Reporter: equeim
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kfm-devel, nate
Priority: NOR    
Version: 21.12.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description equeim 2022-05-15 19:59:43 UTC
SUMMARY
When computer is shut down, last opened directories

STEPS TO REPRODUCE
1. Open Dolphin. Observe that it restored last opened directories.
2. Navigate to some other directory.
3. Shut down computer without closing Dolphin.
4. Boot up computer.
4. Open Dolphin.

OBSERVED RESULT
Dolphin opens the same directory as in p. 1

EXPECTED RESULT
Dolphin opens the same directory as in p. 2

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 36
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3
Dolphin: 21.12.2

ADDITIONAL INFORMATION
I use Plasma with Wayland.
Comment 1 Nate Graham 2022-05-16 18:46:11 UTC
Dolphin is Wayland-native and uses Session Restore for this, but Session Restore is currently broken for wayland-native windows. See Bug 436318. It's one of the "Wayland Showstoppers" listed on https://community.kde.org/Plasma/Wayland_Showstoppers. So it'll be fixed eventually.

*** This bug has been marked as a duplicate of bug 436318 ***