Bug 306257

Summary: Add a feature so that we can save and restore a dolphin session
Product: [Applications] dolphin Reporter: Alexandre Bonneau <alexandre.bonneau>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: CONFIRMED ---    
Severity: wishlist CC: 4wy78uwh, aeoris, alex.bikadorov, am.herrmann, davestechshop, jens.lallensack, jtamate, jwg779-projects, miguelgilmartinez, postix, sammel49
Priority: NOR    
Version: 16.08.3   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=425627
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alexandre Bonneau 2012-09-04 17:23:28 UTC
Add a feature so that we can save and restore a dolphin session : by 'session' I mean being able to save (and restore later) :
- list of all tabs,
- open and expanded folders,
- split views,
- selected files/folders, and
- exact position of scrollbars.
..so that you could just use a menu like "Session > Restore session..." and select one you previously saved (as a *.dolphin_session file for instance).

It would be great then to have directly access to the last 5 sessions (that number should be a configurable option) in the "Session > My_session_name" menu.

Reproducible: Always
Comment 1 MountainX 2014-03-19 03:21:54 UTC
I think this is a great idea. I created a KDE Brainstorm for it here: http://forum.kde.org/viewtopic.php?f=83&t=120181
Comment 2 Jay 2014-10-16 01:35:13 UTC
See this bug: https://bugs.kde.org/show_bug.cgi?id=306257
Comment 3 Alexandre Bonneau 2014-10-23 12:09:54 UTC
You just referenced the same bug Jay.
I'm still hoping to see some activities around this feature request :)
Comment 4 Alexandre Bonneau 2014-10-23 12:12:37 UTC
By the way to complete the request, it should also be great to be able to access the saved sessions directly on the 'Places' panel in a 'Session' category (one click access).
Comment 5 Jay 2014-10-24 08:01:58 UTC
@Alexandre: Sorry, I meant to reference this one (which has more votes, but is generally about the same feature enhancement): https://bugs.kde.org/show_bug.cgi?id=246028

I use KDE on Linux as my primary desktop, but after having gotten used to using the QTTabBar plugin for Windows File Explorer, which allows creating and saving groups of tabs, I am really missing something like this for Dolphin. Most browser's "save tabs as folder" would be fine for me, but it would be nice to save split views, etc. I would think this would be fairly easy to implement (like Konqueror and Konsole do), as it should be pretty much the same code as they use (file URLs...).
Comment 6 Christoph Feck 2016-06-03 18:47:02 UTC
*** Bug 361209 has been marked as a duplicate of this bug. ***
Comment 7 MountainX 2016-06-03 21:01:11 UTC
The prior comment from Jay sums up my feelings as well. I remain very interested in this feature. 

>  I use KDE on Linux as my primary desktop, but after having gotten used to using the QTTabBar plugin for Windows File Explorer, which allows creating and saving groups of tabs, I am really missing something like this for Dolphin. Most browser's "save tabs as folder" would be fine for me, but it would be nice to save split views, etc. I would think this would be fairly easy to implement (like Konqueror and Konsole do), as it should be pretty much the same code as they use (file URLs...).
Comment 8 Alexandre Bonneau 2016-06-05 10:21:06 UTC
So, this bug is almost 4 years old, has 60 votes, 8 comments, a brainstorm topic, one other bug marked as duplicated of it, and still has a status of unconfirmed.
Why is that? :)

Is there any technical reasons why this seemingly basic feature could be hard to implement?
Comment 9 Sergey Kondakov 2017-03-12 13:20:18 UTC
*** This bug has been confirmed by popular vote. ***
Comment 10 Elvis Angelaccio 2017-08-17 08:45:50 UTC
*** Bug 383330 has been marked as a duplicate of this bug. ***
Comment 11 MountainX 2017-12-21 19:01:15 UTC
I remain very interested in this feature.
Comment 12 Miguel Gil Martínez 2019-05-20 16:54:44 UTC
I support this feature. I'm back to Plasma from ElementaryOS which has this feature in a very simple way: when you re-open your "files" browser, it opens same tabs and paths you had previously. No need of saving sessions manually.
Comment 13 Alexandre Bonneau 2019-05-21 06:18:39 UTC
Dolphin already works like that, saving sessions automatically. This feature is for saving and restoring manually, specifically.
Comment 14 Jens Lallensack 2021-08-02 18:46:09 UTC
Note that there is the recently added "Bookmark Tabs as Folder…" feature, which does the most important thing: Saving all tabs. The "session" can then be restored with "Open Folder in Tabs".
Comment 15 MountainX 2021-08-02 20:28:39 UTC
@Jens Lallensack 
RE: "Bookmark Tabs as Folder…"
That's interesting, but not intuitive. Where can we learn more about using this new feature? So far I don't get it.
Comment 16 Jens Lallensack 2021-08-02 20:45:00 UTC
@MountainX
I only learned about it by trying things out. Try this:

1) open some tabs you want to save
2) show menu bar (Ctrl + m)
3) navigate to "Go" -> "Bookmarks" -> "Bookmark tabs as folder". You can enter a folder name, or just keep it blank and hit enter (it will be named "New Folder" then). Now, the new folder will appear in the bookmark list, which you find in "Go" -> "Bookmarks".
4) close Dolphin and re-open, and again "Go" -> "Bookmarks" -> "New Folder" -> "Open Folder in Tabs" to restore the session.

Note that this will restore the tabs only, but additional things like scroll bar positions won't be saved. But for me personally the ability to just to save the tabs is all I need.

Note that you can add an entry "Bookmark tabs as folders" to the tool bar for quick access ("Settings" -> "Configure Toolbars…"). Likewise, the "Bookmarks" toolbar entry will grant you quick access to all saved bookmarks and folders.