Skip to content

Changing system time confuses the timers #21

@GiulioTani

Description

@GiulioTani

I'm using Workrave 1.10.50 on Ubuntu 22.04.2 with Gnome 42.5. I was having some known issues with the system time due to dual boot with Windows and I set back the time manually...

If I set back the time from the settings all the timers are pushed away.
image
image
image

Moving the system time forward again doesn't bring back the timers that instead show the full green bar as if after a break.
image

This affects also statistics:
image

I don't know how marginal is this case compared to the time needed to find a solution, but I did this also in the past and only now I notice all my statistics are messed up.

Apparently, it happens also when the system updates the time on its own (due to the same reason) after being suspended. The within-session behaviour is correct (prompt for pauses, etc.) but the overall stats make no sense.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions