Bug 115671

Summary: Session management (save and restore open connections and their views)
Product: [Applications] konversation Reporter: Rik <rikratva>
Component: generalAssignee: Konversation Developers <konversation-devel>
Status: CONFIRMED ---    
Severity: wishlist CC: david.kremer.dk, hein, naught101, opensource
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Rik 2005-11-04 14:14:29 UTC
Version:            (using KDE KDE 3.4.3)
Installed from:    Ubuntu Packages

I would like an option in Konversation. If I enable it, Konversation should save all servers I'm connected to and channels I'm joined in, and when I start Konverstation again, it should join those servers and channels again.

One of the reasons that I like KDE is session-saving. For example, when I shut down my computer and Kate was running with some textfiles opened, it will be the same when I boot my computer again. This would be a great feature for Konversation so I don't have to join channels manually.

I'm aware of the autojoin-feature in the Serverlist window, but that is just not what I'm looking for.
Comment 1 Jakob Petsovits 2008-01-21 09:55:53 UTC
Chiming in. Session support would also be extremely useful for the Konversation window to stay minimized in the tray, if it was that way on logout. (Not everyone has IRC running on a separate desktop all the time.)

As great as Konversation is otherwise, it's kind of annoying that each time I start a session, it pops up maximized and I have to close it so that it disappears into the tray.
Comment 2 Eike Hein 2008-01-21 20:06:01 UTC
Konversation does actually start minimized to tray if it was minimized as it was quit - that's been in for a really long time, in fact.

SVN also has an option to start minimized to tray in general on top of that.
Comment 3 Jakob Petsovits 2008-01-21 20:29:40 UTC
Nope, it doesn't minimize for me. (Konversation v1.0.1 on KDE 3.5.8 / Kubuntu.) Neither when quitting manually nor on session logout/login. Special window settings are not enabled.

So if the minimized start feature is in SVN, I'm hoping for the next release :)
Comment 4 ned 2008-11-26 10:55:56 UTC
Please open a separate bug for the minimising issue, that's not really session management.

I'd love to see this feature. The problem with the server list is that I often have periods of different IRC interests. For example, on free-node, when I'm running kubuntu betas, I want #ubuntu+1 and #kde open, and when I'm web-developing, I want #drupal or #mediawiki open, and each time I change the set I want open on start I have to manually edit the server list. But I don't want to idle in them all all the time - I have limited downloads :D
Comment 5 Eike Hein 2008-11-26 12:20:02 UTC
Side note: We've been talking about doing something with sets on the basis of bookmark folders, similar to how web browsers can open groups of tabs by opening a folder of bookmarks.
Comment 6 Eike Hein 2009-06-07 15:22:29 UTC
*** Bug 195563 has been marked as a duplicate of this bug. ***
Comment 7 ned 2009-06-17 06:27:26 UTC
I is just me, or does this seem really easy to implement? auto-start sessions are saved like this in ~/.kde/share/konversationrc:

[ServerGroup 1]
AutoConnect=true
AutoJoinChannels=Channel 171,Channel 172,Channel 173,Channel 174,Channel 175,Channel 176,Channel 

Shouldn't it be fairly simple to implement something that re-writes the "AutoConnect" and "AutoJoinChannels" on quit? If ":AutoConnect=false", then don't write "AutoJoinChannels", and that's it. It should be more or less the same code as in the File>Server List>Edit Network dialogue, right?

I think it's probably ok to ignore crashes for now.
Comment 8 Eike Hein 2009-06-17 15:43:43 UTC
The user can also make connections to servers which are not part of the server list configuration, which, along with their joined channels, need to be saved as well for proper session restore.
Comment 9 ned 2009-10-27 14:06:48 UTC
I just noticed the "Join on connect" option in the right-click menu on the channel name. Very useful, and almost a workaround for me, so I thought others might find it useful too.

Obviously doesn't actually resolve this bug report... :)
Comment 10 Eike Hein 2009-10-27 14:31:59 UTC
We added that in v1.1, back in August 2008 (http://konversation.kde.org/wiki/Releases).
Comment 11 Eike Hein 2013-04-14 22:23:10 UTC
*** Bug 315469 has been marked as a duplicate of this bug. ***
Comment 12 Eike Hein 2013-04-15 02:19:58 UTC
*** Bug 278817 has been marked as a duplicate of this bug. ***