Video players and some games mess with idle time checking

Bug #935968 reported by Dylan McCall on 2012-02-19
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNOME Break Timer

Bug Description

Currently, Brain Break uses XCB's screensaver extension to get idle time, from which it decides whether the user is actively using the computer.

Video players and some games conflict with that method of checking idle time. Totem, for example, appears to generate an event once every 30 seconds to suppress the screensaver, and XScreensaver resets its idle_time as a result. For a video player, one can pause the video and the break will finish appropriately. For Frozen Synapse (and probably others), pausing does not halt the behaviour: the break will never finish until the game is closed completely.

From the looks of it, the ideal solution is to use something other than X's screensaver extension to determine idle time. Perhaps Brain Break can listen for input events some other way and figure this stuff out on its own.

description: updated
Changed in brainbreak:
status: New → Incomplete
status: Incomplete → Fix Committed
Changed in brainbreak:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers