GNOME Bugzilla – Bug 684979
inhibit going idle when doing a call
Last modified: 2012-11-02 11:42:13 UTC
I was recently trying empathy for video calls, and noticed that the lock screen came on, and my webcam was still giving me the green light. I think there's two things wrong: - The session should probably be inhibited from going idle while I am doing a call - If the session gets locked, empathy should drop the webcam
Agreed, we should terminate the call if user manually locks his session.
Created attachment 225320 [details] [review] call-window: add 'inhibit' signal
Created attachment 225321 [details] [review] empathy-call: inhibit when we are in a call
In inhibited logout, switch, suspend and idle; does that makes sense to you? Which API can I use to know when the session get locked or switched?
(In reply to comment #4) > In inhibited logout, switch, suspend and idle; does that makes sense to you? Yes, makes sense. > Which API can I use to know when the session get locked or switched? There is a org.gnome.ScreenSaver.ActiveChanged signal that you can probably listen for. There is also a org.gnome.ScreenSaver.Active property which tells you whether the screensaver is active (ie the session is locked). That should work with both gnome-shell and gnome-screensaver.
(In reply to comment #0) > - The session should probably be inhibited from going idle while I am doing a > call Let's use this bug for this. > - If the session gets locked, empathy should drop the webcam And bug #687430 for this.
Attachment 225320 [details] pushed as b42c4d7 - call-window: add 'inhibit' signal Attachment 225321 [details] pushed as 24296ef - empathy-call: inhibit when we are in a call