omarchy icon indicating copy to clipboard operation
omarchy copied to clipboard

[Quattro] Notifications render above the fullscreen screensaver

Open ClGratton opened this issue 3 months ago • 3 comments

System details

Omarchy 4.0.1 Quattro, Hyprland 0.56.2, Quickshell 0.3.1, NVIDIA RTX 3080 Ti, and two DisplayPort outputs.

Problem

Notification toasts rendered above the fullscreen animated screensaver, exposing notification contents on a screen intended to conceal the session.

Pending Omarchy Migrations notification rendered over the animated screensaver

Cause

The terminal screensaver is a normal fullscreen Wayland client. Notification popup windows are WlrLayer.Overlay layer-shell surfaces, so the compositor draws them above normal clients unless the notification service explicitly unmaps them.

Verified solution

PR #9629 hides notification popup surfaces while the enabled idle service reports a live screensaver window and pauses popup lifetime timers while hidden. The idle service is resolved through the plugin registry, including user-cloned implementations.

On the dual-output hardware test, a persistent critical notification was visible before the screensaver, absent over both animations, and restored after dismissal with its remaining lifetime intact. Compositor inspection reported zero omarchy-notifications layer surfaces while both screensaver windows were mapped.

ClGratton avatar Sep 01 '26 14:09 ClGratton

Same class of defect as the screensaver case: an app in fullscreen gets toasts drawn over it whenever DND isn't already on, and unlike the screensaver the idle service has no way to see it. I've left a note on #9629 with a way to extend its hide-and-pause logic from "screensaver window" to "any fullscreen toplevel", and written the wider ask up as a suggestion: https://github.com/omacom/omarchy/discussions/12951

dadofsambonzuki avatar Sep 22 '26 21:09 dadofsambonzuki

The fullscreen-app half of this is now #13850, kept separate from the screensaver fix in #9629 as ClGratton suggested. Same shape as that one: the toast is held back — hidden, countdown paused — while a fullscreen toplevel is on the workspace an output is showing, and only on that output.

dadofsambonzuki avatar Sep 30 '26 08:09 dadofsambonzuki

Checked against quattro at 988f44e: the bug is still there. The notification popups are one WlrLayer.Overlay window per output in shell/plugins/notifications/Service.qml, and they are shown whenever a toast is queued (visible: popupModel.count > 0). Nothing there looks at the idle service's screensaver windows, so a toast draws over the screensaver exactly as reported.

The fix is #9629, which is open against quattro and already set to close this issue when it merges. It is being reviewed as its own item, so nothing was run on a worker for this issue. The broader case of fullscreen apps is #13850, kept separate.

This was read by Claude Opus 5.5 alone. The configured second opinion, Codex Medium, answered a ping but refused the review because today's review budget was spent. What happens next is up to the maintainer: merging #9629.

omarchybot avatar Oct 09 '26 12:10 omarchybot