[Bug 34793] spice client doesn't inhibit screensaver properly

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Mar 29 23:48:41 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=34793

--- Comment #4 from Hans de Goede <jwrdegoede at fedoraproject.org> 2012-03-29 23:48:41 PDT ---
Hi,

(In reply to comment #3)
> (In reply to comment #1)
> > There are 2 different solutions:
> > 1) inhibit the screensaver when we've grabbed the keyboard
> > 2) release the keyboard grab when the screensaver wants it.
> 
> Or when the idle-time is reached? (ie get that information somewhere, and
> monitor inputs?)

Right, this is actually what my proposed solution for 2) under gnome does, it
monitors the gnome-session's status, and would release the keyboard grab when
that status goes to idle (which is what gnome-screensaver triggers on).

Note I believe that this is only the proper behavior when running windowed, I
believe that in fullscreen mode we should simply inhibit the screensaver,
relying on the guest's screensaver / locking.

> > The problem with this is that it is highly desktop environment specific ...
> 
> That should not prevent us from implementing a solution for the platforms we
> care about.

Agreed, but it is less then ideal which is why I mentioned this.

Regards,

Hans

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


More information about the spice-bugs mailing list