WebNotifications for `0.5.2.xpi` spam in batches after `aw-server-rust-0.13.1` invokes.

Open
#197 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 10 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
rust, typescript
Domain
frontend

Research direction

Start by reproducing the notification batches with aw-server-rust-0.13.1 and aw_watcher_web-0.5.2.xpi in Firefox 141.0.2, using the invocation and environment details above. The issue names no source file or test; done would mean identifying and preventing the repeated WebNotifications while preserving normal watcher behavior.

Written by the indexing model from the issue text.

Description

The Reproduction Method And Its Consequence

For > 15 s after aw-server-rust-0.13.1^20250507.gitc640979-1.fc42.x86_64's aw-server is invoked, I see: ^1

Image

Thereafter, it appears to cease for approximately 40 s, before it recommences. However, IDK whether my DE is merely suppressing them.

My Environment
  1. The Server And Client
    1. #!/usr/bin/env sh
      rpm -qa *-aw*
      
    2. python3-aw-core-0.5.17-3.fc42.noarch
      python3-aw-client-0.5.14-2.fc42.noarch
      nodejs-aw-webui-0^20250507.9259df7-2.fc42.noarch
      python3-aw-qt-0^20240903.43864b2-2.fc42.noarch
      
  2. The Extension

    aw_watcher_web-0.5.2.xpi

  3. Firefox
    1. #!/usr/bin/env sh
      dnf5 --refresh info $(rpm -qa firefox)
      
    2. Name            : firefox
      Epoch           : 0
      Version         : 141.0.2
      Release         : 1.fc42
      Architecture    : x86_64
      Installed size  : 246.8 MiB
      Source          : firefox-141.0.2-1.fc42.src.rpm
      From repository : <unknown>
      Vendor          : Fedora Project
      
  4. The OS And DE
    1. #!/usr/bin/env sh
      fastfetch -l none
      
    2. OS: Fedora Linux 42 (KDE Plasma Desktop Edition) x86_64
      Host: Laptop 16 (AMD Ryzen 7040 Series) (A7)
      Kernel: Linux 6.15.9-201.fc42.x86_64
      Uptime: 1 hour, 1 min
      Packages: 2926 (rpm), 23 (flatpak)
      Shell: bash 5.2.37
      Display (BOE0BC9): 2560x1600 @ 165 Hz (as 1706x1066) in 16" [Built-in]
      DE: KDE Plasma 6.4.4
      WM: KWin (Wayland)
      WM Theme: Breeze
      Theme: Breeze (Dark) [Qt], Breeze-Dark [GTK3/4]
      Icons: breeze-dark [Qt], breeze-dark [GTK3/4]
      Font: Monospace (10pt) [Qt], Monospace (10pt) [GTK3/4]
      Cursor: breeze (24px)
      Terminal: konsole 25.4.3
      CPU: AMD Ryzen 7 7840HS (16) @ 5.14 GHz
      GPU: AMD Radeon 780M Graphics [Integrated]
      Memory: 11.11 GiB / 30.65 GiB (36%)
      Swap: 0 B / 8.00 GiB (0%)
      Disk (/): 190.47 GiB / 929.91 GiB (20%) - btrfs
      Local IP (wlp1s0): 192.168.1.219/24
      Battery (FRANDBA): 87% [Charging, AC Connected]
      Locale: en_GB.UTF-8
      
Dominant language
TypeScript
Stars
580
Forks
102
Avg merge
12d 14h
Merged PRs (30d)
2

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ActivityWatch/aw-watcher-web

All issues in ActivityWatch/aw-watcher-web

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.