diff --git a/modules/notification/Notification.qml b/modules/notification/Notification.qml index 970212d..0868506 100644 --- a/modules/notification/Notification.qml +++ b/modules/notification/Notification.qml @@ -68,7 +68,7 @@ PanelWindow { const summary = notification.summary if (dismiss) { Config.debug == "Notification" && console.log("[NotificationWindow " + Hyprland.monitorFor(screen).activeWorkspace.id + "]: Dissmiss: " + appName + " " + id + " - " + summary) - notification.dismiss() + notification.tracked ? notification.dismiss() notificationListModel.remove(index) } else { Config.debug == "Notification" && console.log("[NotificationWindow " + Hyprland.monitorFor(screen).activeWorkspace.id + "]: Close: " + appName + " " + id + " - " + summary) diff --git a/modules/notification/NotificationBody.qml b/modules/notification/NotificationBody.qml index c590d9e..24fbea0 100644 --- a/modules/notification/NotificationBody.qml +++ b/modules/notification/NotificationBody.qml @@ -15,7 +15,7 @@ Rectangle { property bool closing: false - property real duration: ( notification.hasInlineReply ? 5000000000 : 1) + property real duration: ( notification.hasInlineReply ? 5000000000 : 1000) // notification.expireTimeout > 0 ? notification.expireTimeout : // urgency ? urgency * 2000 : // 5000 @@ -222,10 +222,8 @@ Rectangle { visible: notification.hasInlineReply function sendReply(message) { - console.log("BEFORE sendInlineReply", notification.id, notification.resident) notification.sendInlineReply(message) inlineReplyTextField.focus = false - console.log("AFTER sendInlineReply", notification.id) if (!notification.resident) { root.closeNotification(true)