Skip to content

Fix duplicate microphone notifications on multiple monitors - #24

Merged
ssupt merged 4 commits into
ssupt:mainfrom
JonathanPitre:fix/microphone-notification-duplicates
Oct 10, 2026
Merged

ssupt merged 4 commits into
ssupt:mainfrom
JonathanPitre:fix/microphone-notification-duplicates

Conversation

@JonathanPitre

@JonathanPitre JonathanPitre commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

On a multi-monitor desktop, each bar panel observes the same microphone capture and runs notify-send. Three monitors therefore produce three identical notifications.

Move the existing observer, startup warmup, debounce, and sender into the plugin's single shell-owned service. Panels keep their recording indicators. The notification preference and missing-command check are preserved, and distinct application starts remain able to notify immediately. The bundled release is regenerated so its manifest, QML runtime, and backend identity stay consistent.

Qualify Omarchy's palette references so Qt 6.12's new Color singleton cannot shadow the panel colors.

Closes #23.

There is a separate Omarchy display issue: a single notification is rendered on every monitor. omacom/omarchy#14830 addresses that by pinning each toast to the monitor focused when it arrives. This plugin fix removes duplicate sends; both fixes together give one toast on one monitor.

Validation:

  • Regression test fails with three sends before the change and passes with one afterward; covers rapid application starts, stop/restart, startup baseline, notification preference, and missing notify-send.
  • ./test/all passed, including 46 Rust tests and Clippy.
  • Release consistency check and Omarchy plugin validation passed.
  • Packaged private PipeWire/QML service integration passed; the full panel UI fixture was skipped because Weston is unavailable locally.
  • Enabled the fork on a live three-monitor Omarchy desktop. Two synthetic capture streams started immediately one after the other, and each produced exactly one D-Bus notification. No hardware microphone capture was needed.

JonathanPitre and others added 4 commits October 10, 2026 15:17
Move capture observation out of the per-monitor panel so each application transition sends once. Preserve startup warmup and the notification preference, add regression coverage, and regenerate the bundled release.

Closes #23
@ssupt
ssupt merged commit a1bb179 into ssupt:main Oct 10, 2026
6 checks passed
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 this pull request may close these issues.

Microphone-access toast fires once per monitor: N stacked "Microphone access started" notifications for a single event

2 participants