From ce62d8f9cdaab9528d63ffb335906562b7a35bf8 Mon Sep 17 00:00:00 2001 From: Damocles Date: Mon, 13 Apr 2026 15:28:31 +0200 Subject: [PATCH] fix notification dismiss: skip slideIn for already-visible popups --- modules/NotifPopup.qml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/modules/NotifPopup.qml b/modules/NotifPopup.qml index 0e99743..09db576 100644 --- a/modules/NotifPopup.qml +++ b/modules/NotifPopup.qml @@ -31,6 +31,8 @@ PanelWindow { width: parent.width spacing: 6 + property var _knownIds: ({}) + Repeater { model: M.NotifService.popups.slice(0, 4) @@ -50,8 +52,15 @@ PanelWindow { property bool _entered: false Component.onCompleted: { + if (popupCol._knownIds[modelData.id]) { + opacity = 1; + x = 0; + _heightScale = 1; + } else { + popupCol._knownIds[modelData.id] = true; + slideIn.start(); + } _entered = true; - slideIn.start(); } Behavior on y {