From 2c5cf8c1742dd684b4c055698e822bb4cce62958 Mon Sep 17 00:00:00 2001 From: Damocles Date: Mon, 13 Apr 2026 15:56:31 +0200 Subject: [PATCH 1/2] animate popup auto-expire: swipe out instead of instant vanish --- modules/NotifPopup.qml | 8 ++++++++ modules/NotifService.qml | 5 ++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/modules/NotifPopup.qml b/modules/NotifPopup.qml index 0720c85..787d5a4 100644 --- a/modules/NotifPopup.qml +++ b/modules/NotifPopup.qml @@ -63,6 +63,14 @@ PanelWindow { _entered = true; } + Connections { + target: M.NotifService + function onPopupExpiring(notifId) { + if (notifId === popupItem.modelData.id) + popupItem.animateDismiss(false); + } + } + Behavior on y { enabled: popupItem._entered NumberAnimation { diff --git a/modules/NotifService.qml b/modules/NotifService.qml index 8a92589..62f197c 100644 --- a/modules/NotifService.qml +++ b/modules/NotifService.qml @@ -105,12 +105,15 @@ QtObject { } } + // Signal popups to animate out before removal + signal popupExpiring(var notifId) + property Component _expireTimer: Component { Timer { property var _notifId running: true onTriggered: { - root.dismissPopup(_notifId); + root.popupExpiring(_notifId); destroy(); } } From 427aeb438ccad5d843f2d27202aca58ee8b9db8b Mon Sep 17 00:00:00 2001 From: Damocles Date: Mon, 13 Apr 2026 15:58:47 +0200 Subject: [PATCH 2/2] edge groups: uniform gap to gradient arc on all sides --- modules/Bar.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/Bar.qml b/modules/Bar.qml index 74364e2..6893eb0 100644 --- a/modules/Bar.qml +++ b/modules/Bar.qml @@ -97,8 +97,8 @@ PanelWindow { Item { anchors.fill: parent anchors.topMargin: 3 - anchors.leftMargin: Math.max(M.Theme.barPadding, M.Theme.screenRadius) - anchors.rightMargin: Math.max(M.Theme.barPadding, M.Theme.screenRadius) + anchors.leftMargin: 6 + anchors.rightMargin: 6 // ---- center (declared first so left/right can anchor to it) ---- RowLayout {