"Top Browser Domains / URLs" Section empty despite valid raw data; Browser: Chrome Portable 64bit Stable
- [x] I am on the latest ActivityWatch version.
- [x] I have searched the issues of this repo and believe that this is not a duplicate.
Description:
The "Top Browser Domains / URLs" section in ActivityWatch remains empty, even though the raw data clearly shows numerous valid entries for aw-watcher-web. This issue persists across multiple sessions and restarts.
Environment:
- ActivityWatch Version: v0.13.2
- Operating System: Windows 10 (64-bit) 22H2
- Browser: Google Chrome Portable Stable 64bit (Version 138.0.7204.101)
- Browser Extension: ActivityWatch Web Watcher Chrome extension (0.5.3) is installed and active
- Watcher:
aw-watcher-webappears to be running and collecting data correctly - Time Period Affected: Continuous, including current session
Observed Behavior:
- The "Top Browser Domains / URLs" panel shows no data (blank list)
- Opening the raw logs via the ActivityWatch Web UI shows proper data such as URL, title, timestamp, and duration
- No console errors visible in browser or ActivityWatch logs
Expected Behavior:
The dashboard should list the top domains and URLs based on the collected data from aw-watcher-web.
Steps to Reproduce:
- Install ActivityWatch and the Chrome extension (in Chrome Portable)
- Use the browser as normal (multiple sites visited)
- Open the ActivityWatch dashboard and inspect the "Top Browser Domains / URLs" section
- Check raw logs for
aw-watcher-web— data is present - The domain list remains empty despite valid underlying data
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! 🙏
Hi it, might be an issue on the UI side; please check if you have data in these three buckets:
- Go to
http://localhost:5600/#/timeline - Check if you have for all time periods that you were using browser:
i.
non-afkstatus ii. data from browser extension iii. data from window watcher with the correct browser name — it can't beunknown
Example:
Please report also the displayed browser name in ActivityWatch
This is how it looks like:
This is the addon:
Thanks for reporting, the issue is with the browser name — Chrome.exe. Out of the box it should be chrome.exe (everything lowercase)...
Update: After renaming the executable to chrome.exe, it now works as expected.
I also have a similar issue. Based on the conversation above, I checked the name of my browser, but it is in lowercase
Hi @rebron1900 — the issue is now somewhere else. The Chrome extension likes to stop working after some time (5 minutes of inactivity) because of MV3... I've tried to fix it multiple times but it still doesn't work.
For now is the temporary solution to open the extension console and that keep the extension running indefinitely :)
Hi @rebron1900 — the issue is now somewhere else. The Chrome extension likes to stop working after some time (5 minutes of inactivity) because of MV3... I've tried to fix it multiple times but it still doesn't work.
For now is the temporary solution to open the extension console and that keep the extension running indefinitely :)
It's really frustrating news.
Hi @rebron1900 — the issue is now somewhere else. The Chrome extension likes to stop working after some time (5 minutes of inactivity) because of MV3... I've tried to fix it multiple times but it still doesn't work.
For now is the temporary solution to open the extension console and that keep the extension running indefinitely :)
However, my current issue is that I can see the data in the Timeline, but it does not display in the statistical report.
Could you zoom in on one of the events? For it to be correctly paired and displayed in the visualisations, the aw-watcher-window bucket needs to show the browser name accurately...
Here are currently accepted app names for Chrome: https://github.com/ActivityWatch/aw-webui/blob/master/src/queries.ts#L217-L237
Could you zoom in on one of the events? For it to be correctly paired and displayed in the visualisations, the
aw-watcher-windowbucket needs to show the browser name accurately...Here are currently accepted app names for Chrome: https://github.com/ActivityWatch/aw-webui/blob/master/src/queries.ts#L217-L237
Of course, no problem, the browser information I use. https://www.centbrowser.cn/about.html
5.2.1168.76 (正式版本) (64 位) (Portable) (Chromium 132.0.6834.210)