ActivityWatch / activitywatch

The best free and open-source automated time tracker. Cross-platform, extensible, privacy-focused.
https://activitywatch.net/
Mozilla Public License 2.0
12.68k stars 565 forks source link

Chrome window title not tracked on MacOS #824

Open zplizzi opened 2 years ago

zplizzi commented 2 years ago

Describe the bug

Activitywatch never picks up window titles for Chrome. But it does pick up titles for other apps, eg Spotify. I tried to work around this with the web-watcher, but that is unfortunately also broken due to this bug.

I don't think this is a duplicate of #785 as I am definitely on 0.12.1.

image
github-actions[bot] commented 2 years ago

Hi there! As you're new to this repo, please make sure you've used an appropriate issue template and searched for duplicates (it helps us focus on actual development!). We'd also like to suggest that you read our contribution guidelines and our code of conduct. Thanks a bunch for opening your first issue! 🙏

lazywei commented 1 year ago

Encountering this as well. Is there any update or have you been able to find a workaround?

zplizzi commented 1 year ago

Nope, although the web-watcher has been stable for me when I installed it from source for some reason.

BelKed commented 1 year ago

Maybe it was fixed in the meantime...

If you want, you can download the nightly build from here: https://github.com/ActivityWatch/activitywatch/actions/runs/3533130809

At the bottom of the page is the Artifacts section, where you can find the build for macOS (builds-macOS-py3.9) and for other operating systems.

rtpHarry commented 1 year ago

I've been experiencing this issue for several months - #787

It was suggested that a pending PR might fix it but that hasn't been merged yet and I don't really want to get involved in building the source or whatnot so at the moment I'm about to roll back to 0.11 which was working fine with window tracking.

The only bad thing about 0.11 was that the tooltip on the timeline got cropped off. I ended up implementing a custom user stylesheet using the chrome plugin Stylus with this content:

.vis-timeline {
    overflow: visible !important;
}
ErikBjare commented 1 year ago

This should be fixed in the latest beta (v0.12.2b1).

sameersismail commented 1 year ago

This should be fixed in the latest beta (v0.12.2b1).

Can confirm; just installed the beta, and it's tracking Chrome's window titles again:

image

Thanks!