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.
Dolphin opens the same directory as in p. 1
Dolphin opens the same directory as in p. 2
Linux/KDE Plasma: Fedora 36
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3
I use Plasma with Wayland.
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 ***