Hi, When you are 20 minutes idle the screen is turned off, at that moment the reported amount of seconds idle gets resetted to 0 as well. --- XScreenSaverInfo* _mit_info; _mit_info= XScreenSaverAllocInfo(); XScreenSaverQueryInfo(qt_xdisplay(), qt_xrootwin(), _mit_info); totalIdle = (_mit_info->idle/1000); XFree(_mit_info); --- _mit_info->idle will be 0 after 1199 seconds. Exactly the moment the screen is turned off. ---- idle :: date 1195 :: do mrt 30 22:19:46 2006 1196 :: do mrt 30 22:19:47 2006 1197 :: do mrt 30 22:19:48 2006 1198 :: do mrt 30 22:19:49 2006 0 : do mrt 30 22:19:50 2006 0 :: do mrt 30 22:19:51 2006 1 :: do mrt 30 22:19:52 2006 3 :: do mrt 30 22:19:53 2006 4 :: do mrt 30 22:19:54 2006 5 :: do mrt 30 22:19:55 2006 ---- I expect: as long as the user does not move keyboard or mouse the reported amount of seconds for idle should increase. Applications that query this idle time should be able to rely on this figure to determine how long the user has been idle. Tom
Just a small note to let you know that it is the dpms which causes it, when it turns off the monitor, the idle is reset.
Sorry about the phenomenal bug spam, guys. Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Hi, Sorry to disturb anyone as I appreciate their efforts, but I was wondering if there are any updates on this bug. Cheers, _J
Also affects gnome-session and gnome-power-manager. We've got a funky workaround in gnome-power-manager, but it's obviously not ideal.
Dupe of (fixed) bug 22155?
(In reply to Bastien Nocera from comment #5) > Dupe of (fixed) bug 22155? Probably.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.