From ffead9de07acf8602f386839b83dc54dd6c2e32b Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Wed, 17 Dec 2008 19:56:25 +0000 Subject: [PATCH] SVN_SILENT document why this is, as it's not immediately obvious why that would be needed there, and obviously got missed previously svn path=/trunk/KDE/kdelibs/; revision=898229 --- popupapplet.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/popupapplet.cpp b/popupapplet.cpp index 0d1b1c2ad..4ea0069c1 100644 --- a/popupapplet.cpp +++ b/popupapplet.cpp @@ -360,6 +360,8 @@ bool PopupApplet::eventFilter(QObject *watched, QEvent *event) void PopupApplet::showPopup(uint popupDuration) { if (d->dialog && (formFactor() == Horizontal || formFactor() == Vertical)) { + // move the popup before its fist show, even if the show isn't triggered by + // a click, this should fix the first random position seen in some widgets d->updateDialogPosition(); d->dialog->show(); KWindowSystem::setState(d->dialog->winId(), NET::SkipTaskbar | NET::SkipPager);