diff --git a/src/globalsearch/globalsearchwidget.cpp b/src/globalsearch/globalsearchwidget.cpp index 85d796363..d7e5e4be1 100644 --- a/src/globalsearch/globalsearchwidget.cpp +++ b/src/globalsearch/globalsearchwidget.cpp @@ -367,9 +367,13 @@ bool GlobalSearchWidget::EventFilterSearchWidget(QObject* o, QEvent* e) { return true; break; - case QEvent::FocusIn: - RepositionPopup(); + case QEvent::FocusIn: { + QFocusEvent* fe = static_cast(e); + if (fe->reason() == Qt::MouseFocusReason) { + RepositionPopup(); + } break; + } case QEvent::KeyPress: { QKeyEvent* ke = static_cast(e);