Bug 464693 - Dolphin does not open with the previous tabs when launched by an external app (via 'Show in the folder' or 'Open containing folder')
Summary: Dolphin does not open with the previous tabs when launched by an external app...
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 24.02.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
: 468966 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-01-23 14:12 UTC by Patrick Silva
Modified: 2024-02-29 13:14 UTC (History)
5 users (show)

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


Attachments
Video recording of the issue (938.14 KB, video/x-matroska)
2023-04-06 18:46 UTC, b2
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2023-01-23 14:12:51 UTC
STEPS TO REPRODUCE
1. open Dolphin 
2. make sure 'Show on startup: Folders, tabs, add window state from last time' option is selected in 'Startup' section of Dolphin settings
3. open some tabs
4. close Dolphin
5. take a screenshot with Spectacle and save it - a notification appears
6. click on the hamburger button of the notification and choose 'Open containing folder'

OBSERVED RESULT
Dolphin opens without the tabs open in the step 3

EXPECTED RESULT
Dolphin opens with the tabs open in the step 3

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.26.90
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
Graphics Platform: Wayland
Comment 1 b2 2023-04-06 18:46:45 UTC
Created attachment 157907 [details]
Video recording of the issue

Same for me. Attached a recording of the issue.

SOFTWARE/OS VERSIONS
Linux: Fedora 36
KDE Plasma: 5.27.1
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
I have removed any other file managers I had in case it interfered.
Comment 2 Patrick Silva 2023-04-26 11:03:14 UTC
*** Bug 468966 has been marked as a duplicate of this bug. ***
Comment 3 Steven Eastland 2023-05-18 16:37:32 UTC
This is also happening to me.  My observations:

I have "Show on startup: Folders, tabs, add window state from last time" selected. After closing Dolphin:

* Opening it again from a pinned entry in the Icons-Only Task Manager does not remember the last tabs.
* Restoring it after login from a saved session does not remember the last tabs.
* Opening it again using the Meta+E shortcut DOES remember the last tabs.

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.2-arch1-1 (64-bit)
Comment 4 Patrick Silva 2023-05-18 16:44:07 UTC
you are facing bug 469656