Desktop notifications: keep the D-Bus connection open #191

Merged
littlefox merged 1 commit from issue-182-desktop-notifications into main 2026-10-20 12:01:49 +00:00
Owner

Cinnamon/GNOME Shell drop an app's notifications when the sending connection closes; we closed it after every notification. One long-lived connection now, plus the desktop-entry hint. Regression test with a fake notification service on a private dbus-daemon (fails without the fix); CI runs desktop unit tests.

Closes #182

🤖 Generated with Claude Code

https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8

Cinnamon/GNOME Shell drop an app's notifications when the sending connection closes; we closed it after every notification. One long-lived connection now, plus the desktop-entry hint. Regression test with a fake notification service on a private dbus-daemon (fails without the fix); CI runs desktop unit tests. Closes #182 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8
Keep the notification connection open on the desktop
All checks were successful
ci / check (push) Successful in 9m19s
packaging / arch (pull_request) Successful in 11m46s
ci / desktop (push) Successful in 15m41s
packaging / nix (pull_request) Successful in 21m15s
packaging / debian (pull_request) Successful in 22m36s
packaging / fedora (pull_request) Successful in 26m35s
packaging / release (pull_request) Has been skipped
ci / e2e (push) Successful in 30m15s
de4cbcdd5d
Cinnamon and GNOME Shell withdraw an app's notifications as soon as
the D-Bus connection that sent them closes. NeoKOM opened a connection
per notification and dropped it right after, so the desktop accepted
each one (the test button said "Sent") and removed it at once. Keep one
connection for the app's lifetime, and name the desktop entry so the
notification shows NeoKOM's name and icon. A test plays Cinnamon's part
on a private bus; CI now runs the desktop unit tests.

Closes #182

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8
littlefox referenced this pull request from a commit 2026-10-21 18:55:54 +00:00
Sign in to join this conversation.
No description provided.