ActivityWatch / ActivityWatch/activitywatch

multiple spurious window events logged on mac after updating to monterey 12.2

Open
#709 3 comments 0 reactions 0 assignees View on GitHub
stale type: bug
Dominant language
Python
Stars
18.9k
Forks
1k
Avg merge
1d 4h
Merged PRs (30d)
28

Description

- [x] I am on the [latest](https://github.com/ActivityWatch/activitywatch/releases/latest) ActivityWatch version.
- [x] I have searched the issues of this repo and believe that this is not a duplicate.

- **OS name and version**: macOS Monterey 12.2
- **ActivityWatch version**: v0.11.0

## Describe the bug

After upgrading macOS to 12.2 yesterday, multiple short (~45-50s) events are constantly logged while the machine is inactive resulting in significant over-estimates of activity time. These are presumably due to changes in the way the OS is notifying of window events. The events are associated with an application, but never have a window name (so they are filterable after the fact).

## To Reproduce

## Expected behavior

No or few events while sleeping.

## Documentation

Screen Shot 2022-02-03 at 19 04 46

Logs do not look significantly different before and after the change in behaviour.

## Additional context

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.