omarchy icon indicating copy to clipboard operation
omarchy copied to clipboard

Notification history (Super+Shift+Alt+,) duplicates cards already on screen

Open roehrbacher opened this issue 4 weeks ago • 2 comments

Omarchy version

4.5.0-3

Steps to reproduce

  1. Have at least one entry in notification history.
  2. Press Super+Shift+Alt+, (Open notification history / notifications.showHistory) once — the last few cards replay on screen.
  3. Press the same shortcut again without dismissing those cards.

Expected

Reopen/focus the already-replayed history cards, or no-op if those history rows are already live. Pressing the binding repeatedly should not grow the deck.

Actual

Each press calls showHistory → replayHistory() → restoreRows(..., replay=true). When a history key is already live, stock mints a new key and inserts another card. N presses ⇒ N duplicate stacks of the same history entries.

Code

shell/plugins/notifications/Service.qml — restoreRows:

  • Comment in stock: "Replaying the same entry deliberately creates a separate card."
  • On replay=true with liveKeys[row.key] already set, it assigns row.key = nextKey() instead of skipping/focusing the existing card.

IPC entry: ShellIpc target notifications → showHistory().

Notes

Reproduced on stock Omarchy notification history (not a third-party notification-center plugin).

roehrbacher avatar Nov 05 '26 14:11 roehrbacher

Codex (GPT-6; reasoning effort not exposed) read this report, the notification-history code on current quattro, and the earlier report #17139. Both reports describe the same shortcut and duplicate-card steps; PR #17162 addresses that replay path and is being reviewed separately. No reproduction or tests were run in this issue pass.

The second classification model, deepseek-v4p1-flash, returned no classification, so classification remains unsettled. No labels were added and the issue remains open, waiting for a completed classification before the duplicate decision proceeds. Only Codex completed the item review; the reviewer's availability probe answered, but that was not a review of this issue.

omarchybot avatar Nov 19 '26 00:11 omarchybot

Closing this as a duplicate of #17139: both describe repeated Super+Shift+Alt+, presses adding copies of history cards that are still on screen. Both point to the same restoreRows replay path, which assigns a fresh key when the original key is already live. This report adds no separate failure case; its no-op expectation is covered by the earlier report.

Codex (GPT-6; reasoning effort not exposed) compared both reports, their comments and the current quattro source. Opus 5.5 High and muse-wonder via pi, thinking high, reviewed that comparison and agreed; independence is not guaranteed. No reproduction or tests were run in this duplicate review. Tracking continues in #17139, with PR #17162 being reviewed separately. This issue can be reopened if it describes a case the original does not cover.

omarchybot avatar Nov 23 '26 05:11 omarchybot