Skip to content

3.0-rc1: hamster ignores screen lock events #568

@mwilck

Description

@mwilck

Hamster 2.2 would catch screen lock events and stop the current activity. This was a very important feature - without it, users need to remember manually stopping tracking when take a break or otherwise leave the screen. Even if the activation of the screen lock doesn't necessarily mean that activities have stopped, it's very helpful to have the time stamp of the onset of idleness recorded this way, to be able to manually correct activities later.

This regression has been caused by cc96625 ("remove idle.py"). The commit contains no explanation why this important functionality has been removed. My guess is it was because the idle.py code was accessing the deprecated gconf functionality. However,

  1. This was only used to calculate backwards from the actual "lock" event towards the time when the desktop last recorded any activity,
  2. The gsettings replacement would be lock-delay in /org/gnome/desktop/screensaver.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions