]> cloud.milkyroute.net Git - dolphin.git/commit
Revert "Don't session-restore invalid paths"
authorNate Graham <nate@kde.org>
Wed, 28 Jul 2021 18:54:10 +0000 (12:54 -0600)
committerNate Graham <nate@kde.org>
Wed, 28 Jul 2021 18:59:29 +0000 (12:59 -0600)
commitea7d4f059d5cb81b51053e7fec6492a727a968c2
tree703e2aa5ddd7896bc9cb5bd4d9b572a7e69d9ebd
parent0cdcf041cf18db77a74ecd829f2e6bb586aabe08
Revert "Don't session-restore invalid paths"

This reverts commit c733b3aa9787a618a0ce5bb03b3fc731f5663b21.

There are people who prefer the old behavior of session-restoring all
paths including the ones which are currently inaccessible. The idea is
that Dolphin is like a web browser; if a website is not currently
available, the browser tells you that instead of silently discarding the
URL and showing you the homepage. Doing this can be considered a form
of data loss.

In addition, the reason for the change was to prevent Dolphin from
showing invalid paths on launch for unmounted removable disks, but that
specific case was fixed separately by switching to ~ for any tabs/views
that were showing locations on a just-unmounted removable disk. So you
will never run into the problem if yo unmount a disk in Dolphin and then
close it.

Accordingly, let's revert the change because it causes more problems than
it resolves.

BUG: 439864
CCBUG: 427619
FIXED-IN: 21.08
src/dolphinmainwindow.cpp
src/dolphinmainwindow.h
src/main.cpp