Version: 0.3.3
OS: CachyOS, Using Hyprland as my WM
Describe the bug
The Browser tab in the ActivityWatch web UI shows "No data" even though
the web extension bucket contains data. The Window tab also showed "No data"
until I worked around it.
Root cause
awatcher names buckets with a hostname suffix, e.g.:
- aw-watcher-window_cachyos-x8664
- aw-watcher-web-zen_cachyos-x8664
But the ActivityWatch web UI's default queries use find_bucket() with
prefixes like "aw-watcher-window_" and "aw-watcher-web-zen" (no hostname),
which causes the Browser tab query to fail to match the correct bucket.
The server logs confirm this:
BucketQueryError("Failed to find bucket matching filter 'aw-watcher-window_unknown'")
Expected behavior
The Browser tab should display data from the web extension bucket.
Workaround
None found for the Browser tab. The Query Explorer works as a manual workaround.