fix: honor x-canonical-private-synchronous hint for notification replacement #3

Merged
Breadway merged 1 commit from fix/2 into dev 2026-07-23 10:15:59 +08:00
Owner

notify-send-based senders (e.g. breadcrumbs) fire a new process per notification, so replaces_id is always 0 — they instead tag related notifications with the x-canonical-private-synchronous hint and expect the daemon to replace whatever is currently showing from that app. breadbar was not honoring it, so a persistent (Expire::Never) critical notification like breadcrumbs' "no Wi-Fi adapter" during a suspend transition could never be superseded by a later notification, leaving it stuck until breadbar was restarted.

Fixes #2.

notify-send-based senders (e.g. breadcrumbs) fire a new process per notification, so `replaces_id` is always 0 — they instead tag related notifications with the `x-canonical-private-synchronous` hint and expect the daemon to replace whatever is currently showing from that app. breadbar was not honoring it, so a persistent (`Expire::Never`) critical notification like breadcrumbs' "no Wi-Fi adapter" during a suspend transition could never be superseded by a later notification, leaving it stuck until breadbar was restarted. Fixes #2.
Breadway added 1 commit 2026-07-23 10:13:32 +08:00
notify-send-based senders (e.g. breadcrumbs) fire a new process per
notification, so replaces_id is always 0 — they instead tag related
notifications with the x-canonical-private-synchronous hint and expect
the daemon to replace whatever's currently showing from that app. We
weren't honoring it, so a persistent (Expire::Never) critical
notification like breadcrumbs' "no Wi-Fi adapter" during a suspend
transition could never be superseded by a later notification, leaving
it stuck until breadbar was restarted. Fixes #2.
Breadway merged commit 9b5b475036 into dev 2026-07-23 10:15:59 +08:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Breadway/breadbar#3
No description provided.