[kopete-bugs] [Bug 149544] automatically logout and login with suspend

alter schwede alter_schwede at bossmail.de
Tue Feb 8 22:29:39 CET 2011


https://bugs.kde.org/show_bug.cgi?id=149544





--- Comment #4 from alter schwede <alter_schwede bossmail de>  2011-02-08 22:29:38 ---
Created an attachment (id=57002)
 --> (http://bugs.kde.org/attachment.cgi?id=57002)
added suspend/resume methods for accounts and accountmanager, call resume on
system suspend/network shutdown and resume on network connection

(In reply to comment #3)
> Created an attachment (id=56896)
 --> (http://bugs.kde.org/attachment.cgi?id=56896) [details]
> catching dbus events for reconnect
> 
> Catches UPower Sleeping() signal to disconnect on suspend, and catches
> PowerDevil's resumingFromSuspend() signal to reconnect. Tested by suspending
> and resuming : no crashes, and reconnects on resume.

Your patch inspired me to have a deeper look into kopete, because I wanted the
online status of each account to be the same as before system suspend instead
of just reconnecting all accounts to "Online".
This patch also addresses another problem of kopete: When the user was setting
kopete to "Offline" and the network connection was lost and recovered kopete
would reset all accounts to "Online".
Please have a look at this patch and test it. Thanks.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the kopete-bugs mailing list