Bug 328444

Summary: Connect to IRC servers only when there is an internet connection
Product: [Applications] konversation Reporter: Matthias Mailänder <matthias>
Component: generalAssignee: Konversation Developers <konversation-devel>
Status: CONFIRMED ---    
Severity: wishlist CC: hein
Priority: NOR    
Version: 1.5-rc1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Matthias Mailänder 2013-12-05 10:00:57 UTC
I think KMail2 listens to the network manager daemon and gets notified when to come back online. Konversation tries every 120 s no matter what and gives up after 3 times. It could become more clever. If it has potential to be a simple beginner task, I might want to do it myself. Some mentoring would be cool.

Reproducible: Always
Comment 1 Eike Hein 2013-12-05 10:11:16 UTC
We already listen to network state and use it to gracefully suspend and resume connections, but I guess it's true we don't put freshly-instanciated connections under that regimen right away when the network is down at the time. I agree it'd be a nice addition.

I'd be happy to mentor an attempt to implement it. You can find me as "Sho_" on freenode IRC in #konversation. Your starting point would be to read the ConnectionManager class, which is fairly self-contained.