projecthamster / hamster-shell-extension

Shell extension for hamster
http://projecthamster.org
GNU General Public License v3.0
217 stars 92 forks source link

WIP: stop tracking when destroy signal is received #355

Closed xai closed 1 year ago

xai commented 1 year ago

When the destroy signal is received and the gnome extension is disabled, e.g., by locking the screen, it is safe to assume that the current activity can be stopped.

Fixes #354

How to test:

  1. Start tracking an activity
  2. Lock the gnome-session
  3. Unlock the gnome-session
  4. Verify that no activity is being tracked
xai commented 1 year ago

Needs to be revised, as noted in https://github.com/projecthamster/hamster-shell-extension/issues/354#issuecomment-1412782476.

mwilck commented 1 year ago

As noted above, this feature doesn't belong in the extension. It should be implemented in hamster itself.