Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Browser visualisation works on Chrome but not on Firefox #148

Closed
Game4Move78 opened this issue Feb 1, 2025 · 4 comments · Fixed by ActivityWatch/aw-webui#623
Closed

Comments

@Game4Move78
Copy link

Game4Move78 commented Feb 1, 2025

Mozilla Firefox 134.0
Google Chrome 132.0.6834.83
ActivityWatch Web Watcher 0.4.8
ActivityWatch 0.13.2
OS Fedora Linux 41 (KDE Plasma)
XDG_SESSION_TYPE wayland

Tried reinstalling and restarting the Firefox Plugin, disable the add-on and then re-enabling it, and reloading the extension.

Timeline is correct for both, but "Top Browser Domains" and "Top Browser URLs" are updated with data from Chrome but not Firefox.

A bunch of log messages for aw-server (could be unrelated) similar to [WARNING]: Gap was of negative duration but could be safely merged (-18.0s). This message will only show once per batch. (aw_transform.flood:46).

Similar to this issue.

@BelKed
Copy link
Contributor

BelKed commented Feb 1, 2025

Please check these two things:

  • Timeline (http://localhost:5600/#/timeline) — if there are data from aw-watcher-web-firefox
  • Top Applications — what's the name for Firefox (e.g. firefox, ...)

@Game4Move78
Copy link
Author

There is data from aw-watcher-web-firefox with no issues.
org.mozilla.firefox is the name for Firefox.

@BelKed
Copy link
Contributor

BelKed commented Feb 1, 2025

Thanks for confirming, will be fixed by ActivityWatch/aw-webui#623

@Game4Move78
Copy link
Author

Game4Move78 commented Feb 1, 2025

I can confirm applying your patch fixed my issue. Adding 'org.mozilla.firefox', under 'firefox.exe', in activitywatch/aw-server/aw-webui/src/queries.ts, and restarting aw-server.

cd aw-server
vi ./aw-webui/src/queries.ts # 'org.mozilla.firefox',
make build

Hope it gets merged soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants