https://bugs.kde.org/show_bug.cgi?id=470050

            Bug ID: 470050
           Summary: Dolphin does not restore folders when opened through
                    session restore
    Classification: Applications
           Product: dolphin
           Version: 23.04.1
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: dolphin-bugs-n...@kde.org
          Reporter: kishor...@gmail.com
                CC: kfm-de...@kde.org
  Target Milestone: ---

SUMMARY
When Dolphin 23.04.1 is restored by resuming an activity or rebooting (with
session restoration enabled), it always shows the default directory (user's
home), instead of showing the folders that were open when the activity was
saved or the computer was shut down.

STEPS TO REPRODUCE
Situation A
1. In a fresh activity, open Dolphin and navigate to any directory other than
the default
2. Suspend the activity
3. Resume the activity

Situation B
1. In System Settings > Startup and Shutdown > Desktop Session, pick the option
to restore applications from last session
2. Open a Dolphin window and navigate to any directory other than the default
3. Reboot and log in

OBSERVED RESULT
A Dolphin window opens in the correct virtual desktop/activity, but it just
shows the default directory (user's home).

EXPECTED RESULT
Session restore should restore the folders that were open in the dolphin
windows.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9
Kernel Version: 6.3.1-arch2-1 (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
Downgrading to 23.04.0 fixes the issue

Git bisect output:

d19800c69198b904ae47cb1e53dfe28f74618eb2 is the first bad commit
commit d19800c69198b904ae47cb1e53dfe28f74618eb2
Author: Méven Car <meven....@kdemail.net>
Date:   Thu Apr 20 08:50:40 2023 +0000
    Restrict attaching instances to those on the same activity or same virtual
desktop

    CCBUG: 408919
    (cherry picked from commit b99f6f50eef395a3ceb88fb3d4b7357cbbc13c85)

 src/dolphinmainwindow.cpp | 25 +++++++++++++++++++++++++
 src/dolphinmainwindow.h   |  3 +++
 src/global.cpp            | 44 +++++++++++++++++++++++++++++++++-----------
 3 files changed, 61 insertions(+), 11 deletions(-)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to