Bug 319484

Summary: KTP presence is wrongly restored after resume
Product: [Frameworks and Libraries] telepathy Reporter: S <sb56637>
Component: generalAssignee: Telepathy Bugs <kde-telepathy-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: kde, mklapetek
Priority: NOR    
Version: git-latest   
Target Milestone: Future   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description S 2013-05-07 18:01:28 UTC
Hi there,

I'm running the lastest KTP GIT version (currently 0.6.40git+) on openSUSE 12.3. I use the option to restore the last presence on login. However, with a recent update (sorry, not exactly sure when) it started restoring the presence always to "away" after resuming the system from a suspend-to-RAM. I noticed that as soon as I hit the suspend button, some mechanism of the system sets the KTP presence applet status to "away", and then the system goes to sleep. After resuming it uses "away" as the last status, even though I originally had it set to "available".

Thanks a lot!

Reproducible: Always

Steps to Reproduce:
1. set status to "available"
2. suspend to RAM
3. resume
Actual Results:  
status after resume is set to "away"


Expected Results:  
status should be "Available"
Comment 1 David Edmundson 2013-05-07 20:34:38 UTC
Oh bother.

This is the new auto "set to away when we lock the screen" feature.
Suspending locks the screen, this causes this.

In a sense this is OK, as whilst at the screen lock you are sort of away. If it goes to online properly this won't be a problem
Comment 2 Martin Klapetek 2014-02-27 15:31:45 UTC
Can you confirm this behavior with latest git (0.7.80+)?
Comment 3 Martin Klapetek 2014-04-13 19:56:44 UTC
This seems to be fixed with 0.8, for me presence is restored to what it was before the lock screen engaged.

Please reopen if you can still reproduce with 0.8, thanks.