Bug 770 - micro break timer gets stuck at -0:31 forever
Status:
NEW
Component:
Core
Version:
1.8.5
Hardware:
PC Linux
Importance:
P5 major
Target Milestone:
---
Assignee:
Rob Caelers
URL:
Depends on:
Blocks:
Reported:
Aug 16 2008 13:58:07 UTC
by:
Joe Wells
Modified:
Jun 21 2009 11:23:59 UTC
IdWhoWhenSizeType
141screenshot of workrave window showing micro break timer stuck at -0:31
screenshot of workrave window showing micro break timer stuck at -0:31
Joe WellsAug 16 2008 13:58:07 UTC2657image/png
167Suspend timer when inactive
Suspend timer when inactive
Ray SatiroJan 13 2009 06:26:30 UTC34712image/png
189another screenshot, this time timer stuck at -0:01
another screenshot, this time timer stuck at -0:01
Joe WellsJun 21 2009 11:23:59 UTC1990image/png
WhoWhenWhatRemovedAdded
Description
Joe Wells  Aug 16 2008 13:58:07 UTC
Created attachment 141
screenshot of workrave window showing micro break timer stuck at -0:31

Somehow my micro break timer has gotten stuck at -0:31.  This has gone on for multiple days.  There have been no micro breaks during this time.  The rest break and daily break timers have continued to operate normally, and there have been rest breaks as normal.

I have attached a screenshot.

I have not tried to do anything to reset the timer (such as restarting Workrave or playing with the preferences) because I did not want to spoil whatever circumstances caused the bug.  My instance of Workrave with the problem is still running, so I can check things if requested.

I guessed “Core” for the component on this bug report, but only because bugzilla forced me to take a guess.  I really don't know.
Comment 1
Ray Satiro  Jan 13 2009 06:26:30 UTC
Created attachment 167
Suspend timer when inactive

Joe,

Are you still experiencing this problem? Do you have 'Suspend timer when inactive' disabled for any timer? I'd like to know if this is related to bug #746.

We need to be able to reproduce what you are experiencing to investigate further. If this happens again please tell us when the timer stopped, and any other information you think might be helpful. Does the green color advance to the right or has it stopped as well?

Thanks,

Ray
Comment 2
Joe Wells  Jun 21 2009 11:21:51 UTC
> Joe,
> 
> Are you still experiencing this problem?

Yes, it is still happening.  The micro-break timer never works for
more than a day before getting stuck.

By the way, nothing in my configuration has changed since I reported
this problem.  I am still running Workrave 1.8.5; I have never been
able to get a usable build of any more recent Workrave versions on my
Ubuntu Dapper Drake installation.

> Do you have 'Suspend timer when inactive' disabled for any timer?

I have “suspend timer when inactive” _enabled_ for both other timers
(rest break, daily limit), and _disabled_ for the micro-break.

> I'd like to know if this is related to bug #746.

I did not know about bug #746.  Thanks for pointing it out.

My problem might be related, but it only ever happens for me when the
micro-break timer has expired.  So the failure to count down always
leaves the count stuck at zero or a negative value.

By the way, I independently discovered the workaround reported in bug
#746 (disable then re-enable the micro-break timer in preferences) and
it also succeeds in restarting the micro-break timer for me.  After
doing the workaround, the timer then gets stuck again less than a day
later.  So I set up the cron job

  */30 * * * * ~jbw/bin/reset-workrave-micro-pause

to run this script:

  #!/bin/sh

  AdjustControl () {
      gconftool --set --type=bool /apps/workrave/gui/breaks/micro_pause/enabled "$1"
  }

  AdjustControl false
  AdjustControl true

This allows automating the workaround, so my micro-break timer is
never stuck for more than 30 minutes.

> We need to be able to reproduce what you are experiencing to
> investigate further. If this happens again please tell us when the
> timer stopped, and any other information you think might be helpful.

It happens at least once a day!

I'll attach another screenshot.

> Does the green color advance to the right or has it stopped as well?

The green color stops advancing to the right when the timer gets stuck.

I hope this information helps.

By the way, I can not easily test whether the fix reported at bug #746
works for me because (as I mentioned above) I have never been able to
get a usable build of anything more recent than Workrave 1.8.5 for my
version of Ubuntu.
Comment 3
Joe Wells  Jun 21 2009 11:23:59 UTC
Created attachment 189
another screenshot, this time timer stuck at -0:01