ActivityWatch / ActivityWatch/activitywatch

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

Aperta
#709 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
stale type: bug
Lingua principale
Python
Stelle
18.9k
Fork
1k
Merge medio
1g 4h
PR unite (30g)
28

Descrizione

- [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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.