Bug 891 - Workrave does not detect (non) activity on Windows 7
Status:
NEW
Component:
Core :: Win32
Version:
1.9.1
Hardware:
PC Other
Importance:
P2 major
Target Milestone:
---
Assignee:
Raymond Penners
URL:
Depends on:
Blocks:
Reported:
Feb 10 2010 22:45:01 UTC
by:
Sander Goudswaard
Modified:
Aug 8 2012 14:42:27 UTC
CC List:
Daniel Benamy
Filip
Ian Eales
im**@gm**.com
Rob Caelers
Vsevolod Parfenov
Yen-Wei Liu
IdWhoWhenSizeType
212Events for crash
Ian EalesMay 8 2010 19:34:23 UTC3339application/octet-stream
WhoWhenWhatRemovedAdded
Daniel BenamyFeb 23 2010 00:26:56 UTCccDaniel Benamy
Ian EalesMay 8 2010 19:30:27 UTCccIan Eales
Rob CaelersDec 5 2010 17:26:34 UTCccRob Caelers
Vsevolod ParfenovJan 21 2011 09:23:35 UTCccVsevolod Parfenov
Yen-Wei LiuFeb 17 2011 08:23:29 UTCccYen-Wei Liu
im**@gm**.comMay 10 2011 04:39:04 UTCccim**@gm**.com
FilipAug 8 2012 14:42:27 UTCccFilip
Description
Sander Goudswaard  Feb 10 2010 22:45:01 UTC
When running on Windows 7 (32 bit), Workrave does not seem to be able to detect activity or inactivity. As a result it randomly starts with work breaks, e.g. during inactivity, or after a user has been working for about 10 minutes.

Sorry for not being more specific, but it looks like something majorly changed between Vista and Windows 7 that made Workrave not completely functional.

In case any changes have been made in 1.9.2 nightly that justify testing this, please let me know.
Comment 1
Daniel Benamy  Feb 23 2010 00:26:56 UTC
I'm experiencing the same thing on Windows 7 64 bit. Workrave will go many hours without telling me to take a break. Somehow it doesn't seem to be tracking time, or input use properly.
Comment 2
Ian Eales  May 8 2010 19:34:23 UTC
Created attachment 212
Events for crash
Comment 3
Ian Eales  May 8 2010 19:51:05 UTC
Workrave crashes on dual monitor w7 64 AMD Phenom II x4 w AMD 760 Radeon 4200 and Radeon 4350

Happens every time Workrave tries to show the popup. Workrave will run forever as long as a break is taken before the popup appears.

This is a new machine not yet running any other applications except AVG.

W32 mode is installed, but not running.
Comment 4
Rob Caelers  Dec 5 2010 17:26:34 UTC
Could you please try a recent scnapshot:

http://snapshots.workrave.org/20101205/workrave-win32-v1_9_2-62-g38d6df67e3-20101205-installer.exe

This version uses a different way of monitoring user activity that handles mouse jitter better. Thanks!
Comment 5
Sander Goudswaard  Dec 5 2010 17:46:31 UTC
Thanks for the update Rob.

Test results:

- installed mentioned build and started it (no reboot but Workrave was closed for all users prior to update the install)
- pressed Win+L to lock screen
- unlocked screen (same user)
- Workrave showed: Dit is een zelf genomen pauze (user initiated break) in the Rest break window.

Perhaps it isn't mouse related only, or at all.

btw, the installer did not prompt for UAC, I had to relaunch it with admin rights.
Comment 6
Sander Goudswaard  Dec 5 2010 17:49:40 UTC
Todaystats:

WorkRaveStats 4
D 5 11 110 12 23 5 11 110 17 34
B 0 7 2 1 22 0 0 1 144 
B 1 7 0 0 4 0 1 0 0 
B 2 7 0 0 0 0 0 0 0 
m 6 4980 726555 458849 24 1344 7952 

Historystats (last entries):

m 6 9479 1263369 790156 0 2383 10734 
D 4 11 110 8 57 4 11 110 23 48
B 0 7 6 0 38 2 0 2 524 
B 1 7 2 0 4 1 0 1 309 
B 2 7 0 0 0 0 0 0 0 
m 6 8339 1522026 901870 2 2340 3770
Comment 7
Rob Caelers  Dec 6 2010 17:18:27 UTC
The 'zelf genomen pauze (user initiated break)' is a new (experimental) feature. Workrave now starts a restbreak when you lock the screen. This is done to avoid being prompted for a break when you leave for less than the break duration.

Workrave no longer asks for admin privileges when installing. Workrave only needs admin rights for installing the deskband applet. Users without admin rights can still install workrave (though they will get some errors they have to ignore...)
Comment 8
Vsevolod Parfenov  Jan 21 2011 09:23:35 UTC
Workrave detects no activity when working with program started with administrative privileges (like Visual Studio for Azure development require to be started like this).

Exception is Windows Explorer which seems to be detected correctly by Workrave even when started with administrative privileges.

OS Windows 7 x64
Workrave versions:
workrave-win32-v1.9.3-installer.exe (official)
workrave-win32-v1_9_3-17-g0101db5baf-20110118-installer.exe

Versions 1.9.1 & 1.9.2 work good.
Comment 9
Yen-Wei Liu  Feb 17 2011 08:23:29 UTC
I have been using Workrave on my WinXP 32-bit PC happily. But since I moved to a new Win7 Pro 64-bit, it hasn't worked reliably.

Sometimes it is that the micro-rest and rest window just don't show up and sometimes the timers just stop for now apparent reason. I have to click on the status window to make the timer count down.

I tried hard to find a pattern to no avail. I have tried 1.9.2, 1.9.3 and even the latest 2012-02-16 snapshot and they all didn't work well. I tried XP compatibility mode and that didn't make any obvious difference. And it looks like keeping Status Window on can slightly make it work a little bit better.

ywliu
Comment 10
Yen-Wei Liu  Feb 22 2011 03:32:07 UTC
After some further observation, I noticed in the always-on-top status window, the micro-break timer would count down from ,say , 30 minutes in my case, to some point, and then all of a sudden, it went back to 30 minutes and counted down again.


I guess that's why at least micro-break never works on my 64-bit Win7 Pro. It is with the latest 02-19 snapshot.
Comment 11
Yen-Wei Liu  Mar 2 2011 07:54:30 UTC
According to other ticket, I solved my problem by downgrading to 1.6.2.

This version is old but it works!
Comment 12
im**@gm**.com  May 10 2011 04:39:04 UTC
With Workrave 1.9.4 on Windows 7 Professional 64-bit, mouse activity stops being detected for no apparent applicable reason. Workrave still responds to keyboard input.
Comment 13
Filip  Aug 8 2012 14:42:27 UTC
I use this great program for some time. On linux (Mageia) at home and Windows at work. It helps me a lot. Thank you! It works well on both configurations. On Windows I have dual monitor.

I didn't notice until today that sometimes it stops to detect any activity on Windows 7 Pro. 64 bit (Workrave 1.9.4). Only pattern I noticed when this happens is that after it detects inactivity it doesn't detects activity unless I interact with the program twice. I take a look on the statistics which implies that this happens rarely. Usually I hibernate instead of true power off.