diff --git a/applets/notifications/plugin/notificationshelper.cpp b/applets/notifications/plugin/notificationshelper.cpp --- a/applets/notifications/plugin/notificationshelper.cpp +++ b/applets/notifications/plugin/notificationshelper.cpp @@ -88,9 +88,6 @@ return; } - // Make sure Dialog lays everything out and gets proper geometry - QMetaObject::invokeMethod(popup, "updateVisibility", Qt::DirectConnection, Q_ARG(bool, true)); - // Now we can position the popups properly as the geometry is now known repositionPopups(); } @@ -150,7 +147,12 @@ // Populate the popup with data, this is the component's own QML method QMetaObject::invokeMethod(popup, "populatePopup", Qt::DirectConnection, Q_ARG(QVariant, notificationData)); - QTimer::singleShot(300, popup, &QWindow::show); + QTimer::singleShot(100, popup, [this, popup] { + // Now we can position the popups properly as the geometry is now known + repositionPopups(); + + popup->show(); + }); if (!m_dispatchTimer->isActive()) { m_dispatchTimer->start();