diff --git a/panels/notification/bubble/bubblepanel.cpp b/panels/notification/bubble/bubblepanel.cpp index f643b7833..8c0edc912 100644 --- a/panels/notification/bubble/bubblepanel.cpp +++ b/panels/notification/bubble/bubblepanel.cpp @@ -111,13 +111,7 @@ void BubblePanel::onNotificationStateChanged(qint64 id, int processedType) void BubblePanel::onBubbleCountChanged() { bool isEmpty = m_bubbles->items().isEmpty(); - if (isEmpty) { - QTimer::singleShot(400, this, [this]() { - setVisible(false); - }); - } else { - setVisible(!isEmpty && enabled()); - } + setVisible(!isEmpty && enabled()); } void BubblePanel::addBubble(qint64 id) diff --git a/panels/notification/bubble/package/main.qml b/panels/notification/bubble/package/main.qml index 342a14169..80ccac395 100644 --- a/panels/notification/bubble/package/main.qml +++ b/panels/notification/bubble/package/main.qml @@ -129,29 +129,8 @@ Window { } } delegate: Bubble { - id: delegateItem width: 360 bubble: model - - ListView.onRemove: SequentialAnimation { - PropertyAction { - target: delegateItem - property: "ListView.delayRemove" - value: true - } - NumberAnimation { - target: delegateItem - property: "x" - to: 360 - duration: 400 - easing.type: Easing.InExpo - } - PropertyAction { - target: delegateItem - property: "ListView.delayRemove" - value: false - } - } } } }