Use visible pause tray icon fallback

This commit is contained in:
2026-09-12 16:26:30 +02:00
parent b9a273bede
commit c16d79dc42
2 changed files with 6 additions and 2 deletions

View File

@@ -88,7 +88,7 @@ Each bounded iteration must:
GTK/X11/package build, 2026-09-12).
- [ ] Verify tray activation/menu behavior and graceful tray unavailability.
- [x] Make the global shortcut and second-instance show request toggle the popup reliably without a delayed focus result reopening it (28 X11-feature tests and Docker GTK/X11/package build, 2026-09-12); live GUI acceptance remains pending.
- [x] Use a standard theme icon for the live tray service and expose a standard pause overlay while recording is paused (Docker GTK/X11/package build, 2026-09-12); live tray acceptance remains pending.
- [x] Use standard theme icons for the live tray service and expose a standard pause overlay plus a paused primary icon fallback for hosts such as Cinnamon that ignore SNI overlays (28 tests and GUI check, 2026-09-12); live tray acceptance remains pending.
- [x] Keep cloned tray handles from shutting down the shared D-Bus service prematurely by making shutdown ownership reference-counted (D-Bus audit found the previous service disappeared after GTK activation; 28 tests and Docker GTK/X11/package build, 2026-09-12); live tray acceptance remains pending.
- [x] Make `--diagnostics` inspect the running installation without triggering a
show request, and report the log directory plus instance state (20 tests and

View File

@@ -40,7 +40,11 @@ impl ksni::Tray for CliphoardTray {
}
fn icon_name(&self) -> String {
"edit-paste".into()
if self.recording.load(Ordering::Acquire) {
"edit-paste".into()
} else {
"media-playback-pause".into()
}
}
fn overlay_icon_name(&self) -> String {