Bug 328444 - Connect to IRC servers only when there is an internet connection
Summary: Connect to IRC servers only when there is an internet connection
Status: CONFIRMED
Alias: None
Product: konversation
Classification: Applications
Component: general (show other bugs)
Version: 1.5-rc1
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konversation Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-05 10:00 UTC by Matthias Mailänder
Modified: 2013-12-05 10:11 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.